numba-cuda 0.0.1__py3-none-any.whl → 0.0.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. _numba_cuda_redirector.pth +1 -0
  2. _numba_cuda_redirector.py +74 -0
  3. numba_cuda/VERSION +1 -0
  4. numba_cuda/__init__.py +5 -0
  5. numba_cuda/_version.py +19 -0
  6. numba_cuda/numba/cuda/__init__.py +22 -0
  7. numba_cuda/numba/cuda/api.py +526 -0
  8. numba_cuda/numba/cuda/api_util.py +30 -0
  9. numba_cuda/numba/cuda/args.py +77 -0
  10. numba_cuda/numba/cuda/cg.py +62 -0
  11. numba_cuda/numba/cuda/codegen.py +378 -0
  12. numba_cuda/numba/cuda/compiler.py +422 -0
  13. numba_cuda/numba/cuda/cpp_function_wrappers.cu +47 -0
  14. numba_cuda/numba/cuda/cuda_fp16.h +3631 -0
  15. numba_cuda/numba/cuda/cuda_fp16.hpp +2465 -0
  16. numba_cuda/numba/cuda/cuda_paths.py +258 -0
  17. numba_cuda/numba/cuda/cudadecl.py +806 -0
  18. numba_cuda/numba/cuda/cudadrv/__init__.py +9 -0
  19. numba_cuda/numba/cuda/cudadrv/devicearray.py +904 -0
  20. numba_cuda/numba/cuda/cudadrv/devices.py +248 -0
  21. numba_cuda/numba/cuda/cudadrv/driver.py +3201 -0
  22. numba_cuda/numba/cuda/cudadrv/drvapi.py +398 -0
  23. numba_cuda/numba/cuda/cudadrv/dummyarray.py +452 -0
  24. numba_cuda/numba/cuda/cudadrv/enums.py +607 -0
  25. numba_cuda/numba/cuda/cudadrv/error.py +36 -0
  26. numba_cuda/numba/cuda/cudadrv/libs.py +176 -0
  27. numba_cuda/numba/cuda/cudadrv/ndarray.py +20 -0
  28. numba_cuda/numba/cuda/cudadrv/nvrtc.py +260 -0
  29. numba_cuda/numba/cuda/cudadrv/nvvm.py +707 -0
  30. numba_cuda/numba/cuda/cudadrv/rtapi.py +10 -0
  31. numba_cuda/numba/cuda/cudadrv/runtime.py +142 -0
  32. numba_cuda/numba/cuda/cudaimpl.py +1055 -0
  33. numba_cuda/numba/cuda/cudamath.py +140 -0
  34. numba_cuda/numba/cuda/decorators.py +189 -0
  35. numba_cuda/numba/cuda/descriptor.py +33 -0
  36. numba_cuda/numba/cuda/device_init.py +89 -0
  37. numba_cuda/numba/cuda/deviceufunc.py +908 -0
  38. numba_cuda/numba/cuda/dispatcher.py +1057 -0
  39. numba_cuda/numba/cuda/errors.py +59 -0
  40. numba_cuda/numba/cuda/extending.py +7 -0
  41. numba_cuda/numba/cuda/initialize.py +13 -0
  42. numba_cuda/numba/cuda/intrinsic_wrapper.py +77 -0
  43. numba_cuda/numba/cuda/intrinsics.py +198 -0
  44. numba_cuda/numba/cuda/kernels/__init__.py +0 -0
  45. numba_cuda/numba/cuda/kernels/reduction.py +262 -0
  46. numba_cuda/numba/cuda/kernels/transpose.py +65 -0
  47. numba_cuda/numba/cuda/libdevice.py +3382 -0
  48. numba_cuda/numba/cuda/libdevicedecl.py +17 -0
  49. numba_cuda/numba/cuda/libdevicefuncs.py +1057 -0
  50. numba_cuda/numba/cuda/libdeviceimpl.py +83 -0
  51. numba_cuda/numba/cuda/mathimpl.py +448 -0
  52. numba_cuda/numba/cuda/models.py +48 -0
  53. numba_cuda/numba/cuda/nvvmutils.py +235 -0
  54. numba_cuda/numba/cuda/printimpl.py +86 -0
  55. numba_cuda/numba/cuda/random.py +292 -0
  56. numba_cuda/numba/cuda/simulator/__init__.py +38 -0
  57. numba_cuda/numba/cuda/simulator/api.py +110 -0
  58. numba_cuda/numba/cuda/simulator/compiler.py +9 -0
  59. numba_cuda/numba/cuda/simulator/cudadrv/__init__.py +2 -0
  60. numba_cuda/numba/cuda/simulator/cudadrv/devicearray.py +432 -0
  61. numba_cuda/numba/cuda/simulator/cudadrv/devices.py +117 -0
  62. numba_cuda/numba/cuda/simulator/cudadrv/driver.py +62 -0
  63. numba_cuda/numba/cuda/simulator/cudadrv/drvapi.py +4 -0
  64. numba_cuda/numba/cuda/simulator/cudadrv/dummyarray.py +4 -0
  65. numba_cuda/numba/cuda/simulator/cudadrv/error.py +6 -0
  66. numba_cuda/numba/cuda/simulator/cudadrv/libs.py +2 -0
  67. numba_cuda/numba/cuda/simulator/cudadrv/nvvm.py +29 -0
  68. numba_cuda/numba/cuda/simulator/cudadrv/runtime.py +19 -0
  69. numba_cuda/numba/cuda/simulator/kernel.py +308 -0
  70. numba_cuda/numba/cuda/simulator/kernelapi.py +495 -0
  71. numba_cuda/numba/cuda/simulator/reduction.py +15 -0
  72. numba_cuda/numba/cuda/simulator/vector_types.py +58 -0
  73. numba_cuda/numba/cuda/simulator_init.py +17 -0
  74. numba_cuda/numba/cuda/stubs.py +902 -0
  75. numba_cuda/numba/cuda/target.py +440 -0
  76. numba_cuda/numba/cuda/testing.py +202 -0
  77. numba_cuda/numba/cuda/tests/__init__.py +58 -0
  78. numba_cuda/numba/cuda/tests/cudadrv/__init__.py +8 -0
  79. numba_cuda/numba/cuda/tests/cudadrv/test_array_attr.py +145 -0
  80. numba_cuda/numba/cuda/tests/cudadrv/test_context_stack.py +145 -0
  81. numba_cuda/numba/cuda/tests/cudadrv/test_cuda_array_slicing.py +375 -0
  82. numba_cuda/numba/cuda/tests/cudadrv/test_cuda_auto_context.py +21 -0
  83. numba_cuda/numba/cuda/tests/cudadrv/test_cuda_devicerecord.py +179 -0
  84. numba_cuda/numba/cuda/tests/cudadrv/test_cuda_driver.py +235 -0
  85. numba_cuda/numba/cuda/tests/cudadrv/test_cuda_libraries.py +22 -0
  86. numba_cuda/numba/cuda/tests/cudadrv/test_cuda_memory.py +193 -0
  87. numba_cuda/numba/cuda/tests/cudadrv/test_cuda_ndarray.py +547 -0
  88. numba_cuda/numba/cuda/tests/cudadrv/test_deallocations.py +249 -0
  89. numba_cuda/numba/cuda/tests/cudadrv/test_detect.py +81 -0
  90. numba_cuda/numba/cuda/tests/cudadrv/test_emm_plugins.py +192 -0
  91. numba_cuda/numba/cuda/tests/cudadrv/test_events.py +38 -0
  92. numba_cuda/numba/cuda/tests/cudadrv/test_host_alloc.py +65 -0
  93. numba_cuda/numba/cuda/tests/cudadrv/test_init.py +139 -0
  94. numba_cuda/numba/cuda/tests/cudadrv/test_inline_ptx.py +37 -0
  95. numba_cuda/numba/cuda/tests/cudadrv/test_is_fp16.py +12 -0
  96. numba_cuda/numba/cuda/tests/cudadrv/test_linker.py +317 -0
  97. numba_cuda/numba/cuda/tests/cudadrv/test_managed_alloc.py +127 -0
  98. numba_cuda/numba/cuda/tests/cudadrv/test_mvc.py +54 -0
  99. numba_cuda/numba/cuda/tests/cudadrv/test_nvvm_driver.py +199 -0
  100. numba_cuda/numba/cuda/tests/cudadrv/test_pinned.py +37 -0
  101. numba_cuda/numba/cuda/tests/cudadrv/test_profiler.py +20 -0
  102. numba_cuda/numba/cuda/tests/cudadrv/test_ptds.py +149 -0
  103. numba_cuda/numba/cuda/tests/cudadrv/test_reset_device.py +36 -0
  104. numba_cuda/numba/cuda/tests/cudadrv/test_runtime.py +85 -0
  105. numba_cuda/numba/cuda/tests/cudadrv/test_select_device.py +41 -0
  106. numba_cuda/numba/cuda/tests/cudadrv/test_streams.py +122 -0
  107. numba_cuda/numba/cuda/tests/cudapy/__init__.py +8 -0
  108. numba_cuda/numba/cuda/tests/cudapy/cache_usecases.py +234 -0
  109. numba_cuda/numba/cuda/tests/cudapy/cache_with_cpu_usecases.py +41 -0
  110. numba_cuda/numba/cuda/tests/cudapy/extensions_usecases.py +58 -0
  111. numba_cuda/numba/cuda/tests/cudapy/jitlink.ptx +30 -0
  112. numba_cuda/numba/cuda/tests/cudapy/recursion_usecases.py +100 -0
  113. numba_cuda/numba/cuda/tests/cudapy/test_alignment.py +42 -0
  114. numba_cuda/numba/cuda/tests/cudapy/test_array.py +260 -0
  115. numba_cuda/numba/cuda/tests/cudapy/test_array_args.py +201 -0
  116. numba_cuda/numba/cuda/tests/cudapy/test_array_methods.py +35 -0
  117. numba_cuda/numba/cuda/tests/cudapy/test_atomics.py +1620 -0
  118. numba_cuda/numba/cuda/tests/cudapy/test_blackscholes.py +120 -0
  119. numba_cuda/numba/cuda/tests/cudapy/test_boolean.py +24 -0
  120. numba_cuda/numba/cuda/tests/cudapy/test_caching.py +545 -0
  121. numba_cuda/numba/cuda/tests/cudapy/test_casting.py +257 -0
  122. numba_cuda/numba/cuda/tests/cudapy/test_cffi.py +33 -0
  123. numba_cuda/numba/cuda/tests/cudapy/test_compiler.py +276 -0
  124. numba_cuda/numba/cuda/tests/cudapy/test_complex.py +296 -0
  125. numba_cuda/numba/cuda/tests/cudapy/test_complex_kernel.py +20 -0
  126. numba_cuda/numba/cuda/tests/cudapy/test_const_string.py +129 -0
  127. numba_cuda/numba/cuda/tests/cudapy/test_constmem.py +176 -0
  128. numba_cuda/numba/cuda/tests/cudapy/test_cooperative_groups.py +147 -0
  129. numba_cuda/numba/cuda/tests/cudapy/test_cuda_array_interface.py +435 -0
  130. numba_cuda/numba/cuda/tests/cudapy/test_cuda_jit_no_types.py +90 -0
  131. numba_cuda/numba/cuda/tests/cudapy/test_datetime.py +94 -0
  132. numba_cuda/numba/cuda/tests/cudapy/test_debug.py +101 -0
  133. numba_cuda/numba/cuda/tests/cudapy/test_debuginfo.py +221 -0
  134. numba_cuda/numba/cuda/tests/cudapy/test_device_func.py +222 -0
  135. numba_cuda/numba/cuda/tests/cudapy/test_dispatcher.py +700 -0
  136. numba_cuda/numba/cuda/tests/cudapy/test_enums.py +121 -0
  137. numba_cuda/numba/cuda/tests/cudapy/test_errors.py +79 -0
  138. numba_cuda/numba/cuda/tests/cudapy/test_exception.py +174 -0
  139. numba_cuda/numba/cuda/tests/cudapy/test_extending.py +155 -0
  140. numba_cuda/numba/cuda/tests/cudapy/test_fastmath.py +244 -0
  141. numba_cuda/numba/cuda/tests/cudapy/test_forall.py +52 -0
  142. numba_cuda/numba/cuda/tests/cudapy/test_freevar.py +29 -0
  143. numba_cuda/numba/cuda/tests/cudapy/test_frexp_ldexp.py +66 -0
  144. numba_cuda/numba/cuda/tests/cudapy/test_globals.py +60 -0
  145. numba_cuda/numba/cuda/tests/cudapy/test_gufunc.py +456 -0
  146. numba_cuda/numba/cuda/tests/cudapy/test_gufunc_scalar.py +159 -0
  147. numba_cuda/numba/cuda/tests/cudapy/test_gufunc_scheduling.py +95 -0
  148. numba_cuda/numba/cuda/tests/cudapy/test_idiv.py +37 -0
  149. numba_cuda/numba/cuda/tests/cudapy/test_inspect.py +165 -0
  150. numba_cuda/numba/cuda/tests/cudapy/test_intrinsics.py +1106 -0
  151. numba_cuda/numba/cuda/tests/cudapy/test_ipc.py +318 -0
  152. numba_cuda/numba/cuda/tests/cudapy/test_iterators.py +99 -0
  153. numba_cuda/numba/cuda/tests/cudapy/test_lang.py +64 -0
  154. numba_cuda/numba/cuda/tests/cudapy/test_laplace.py +119 -0
  155. numba_cuda/numba/cuda/tests/cudapy/test_libdevice.py +187 -0
  156. numba_cuda/numba/cuda/tests/cudapy/test_lineinfo.py +199 -0
  157. numba_cuda/numba/cuda/tests/cudapy/test_localmem.py +164 -0
  158. numba_cuda/numba/cuda/tests/cudapy/test_mandel.py +37 -0
  159. numba_cuda/numba/cuda/tests/cudapy/test_math.py +786 -0
  160. numba_cuda/numba/cuda/tests/cudapy/test_matmul.py +74 -0
  161. numba_cuda/numba/cuda/tests/cudapy/test_minmax.py +113 -0
  162. numba_cuda/numba/cuda/tests/cudapy/test_montecarlo.py +22 -0
  163. numba_cuda/numba/cuda/tests/cudapy/test_multigpu.py +140 -0
  164. numba_cuda/numba/cuda/tests/cudapy/test_multiprocessing.py +46 -0
  165. numba_cuda/numba/cuda/tests/cudapy/test_multithreads.py +101 -0
  166. numba_cuda/numba/cuda/tests/cudapy/test_nondet.py +49 -0
  167. numba_cuda/numba/cuda/tests/cudapy/test_operator.py +401 -0
  168. numba_cuda/numba/cuda/tests/cudapy/test_optimization.py +86 -0
  169. numba_cuda/numba/cuda/tests/cudapy/test_overload.py +335 -0
  170. numba_cuda/numba/cuda/tests/cudapy/test_powi.py +124 -0
  171. numba_cuda/numba/cuda/tests/cudapy/test_print.py +128 -0
  172. numba_cuda/numba/cuda/tests/cudapy/test_py2_div_issue.py +33 -0
  173. numba_cuda/numba/cuda/tests/cudapy/test_random.py +104 -0
  174. numba_cuda/numba/cuda/tests/cudapy/test_record_dtype.py +610 -0
  175. numba_cuda/numba/cuda/tests/cudapy/test_recursion.py +125 -0
  176. numba_cuda/numba/cuda/tests/cudapy/test_reduction.py +76 -0
  177. numba_cuda/numba/cuda/tests/cudapy/test_retrieve_autoconverted_arrays.py +83 -0
  178. numba_cuda/numba/cuda/tests/cudapy/test_serialize.py +85 -0
  179. numba_cuda/numba/cuda/tests/cudapy/test_slicing.py +37 -0
  180. numba_cuda/numba/cuda/tests/cudapy/test_sm.py +444 -0
  181. numba_cuda/numba/cuda/tests/cudapy/test_sm_creation.py +205 -0
  182. numba_cuda/numba/cuda/tests/cudapy/test_sync.py +271 -0
  183. numba_cuda/numba/cuda/tests/cudapy/test_transpose.py +80 -0
  184. numba_cuda/numba/cuda/tests/cudapy/test_ufuncs.py +277 -0
  185. numba_cuda/numba/cuda/tests/cudapy/test_userexc.py +47 -0
  186. numba_cuda/numba/cuda/tests/cudapy/test_vector_type.py +307 -0
  187. numba_cuda/numba/cuda/tests/cudapy/test_vectorize.py +283 -0
  188. numba_cuda/numba/cuda/tests/cudapy/test_vectorize_complex.py +20 -0
  189. numba_cuda/numba/cuda/tests/cudapy/test_vectorize_decor.py +69 -0
  190. numba_cuda/numba/cuda/tests/cudapy/test_vectorize_device.py +36 -0
  191. numba_cuda/numba/cuda/tests/cudapy/test_vectorize_scalar_arg.py +37 -0
  192. numba_cuda/numba/cuda/tests/cudapy/test_warning.py +139 -0
  193. numba_cuda/numba/cuda/tests/cudapy/test_warp_ops.py +276 -0
  194. numba_cuda/numba/cuda/tests/cudasim/__init__.py +6 -0
  195. numba_cuda/numba/cuda/tests/cudasim/support.py +6 -0
  196. numba_cuda/numba/cuda/tests/cudasim/test_cudasim_issues.py +102 -0
  197. numba_cuda/numba/cuda/tests/data/__init__.py +0 -0
  198. numba_cuda/numba/cuda/tests/data/cuda_include.cu +5 -0
  199. numba_cuda/numba/cuda/tests/data/error.cu +7 -0
  200. numba_cuda/numba/cuda/tests/data/jitlink.cu +23 -0
  201. numba_cuda/numba/cuda/tests/data/jitlink.ptx +51 -0
  202. numba_cuda/numba/cuda/tests/data/warn.cu +7 -0
  203. numba_cuda/numba/cuda/tests/doc_examples/__init__.py +6 -0
  204. numba_cuda/numba/cuda/tests/doc_examples/ffi/__init__.py +0 -0
  205. numba_cuda/numba/cuda/tests/doc_examples/ffi/functions.cu +49 -0
  206. numba_cuda/numba/cuda/tests/doc_examples/test_cg.py +77 -0
  207. numba_cuda/numba/cuda/tests/doc_examples/test_cpu_gpu_compat.py +76 -0
  208. numba_cuda/numba/cuda/tests/doc_examples/test_ffi.py +82 -0
  209. numba_cuda/numba/cuda/tests/doc_examples/test_laplace.py +155 -0
  210. numba_cuda/numba/cuda/tests/doc_examples/test_matmul.py +173 -0
  211. numba_cuda/numba/cuda/tests/doc_examples/test_montecarlo.py +109 -0
  212. numba_cuda/numba/cuda/tests/doc_examples/test_random.py +59 -0
  213. numba_cuda/numba/cuda/tests/doc_examples/test_reduction.py +76 -0
  214. numba_cuda/numba/cuda/tests/doc_examples/test_sessionize.py +130 -0
  215. numba_cuda/numba/cuda/tests/doc_examples/test_ufunc.py +50 -0
  216. numba_cuda/numba/cuda/tests/doc_examples/test_vecadd.py +73 -0
  217. numba_cuda/numba/cuda/tests/nocuda/__init__.py +8 -0
  218. numba_cuda/numba/cuda/tests/nocuda/test_dummyarray.py +359 -0
  219. numba_cuda/numba/cuda/tests/nocuda/test_function_resolution.py +36 -0
  220. numba_cuda/numba/cuda/tests/nocuda/test_import.py +49 -0
  221. numba_cuda/numba/cuda/tests/nocuda/test_library_lookup.py +238 -0
  222. numba_cuda/numba/cuda/tests/nocuda/test_nvvm.py +54 -0
  223. numba_cuda/numba/cuda/types.py +37 -0
  224. numba_cuda/numba/cuda/ufuncs.py +662 -0
  225. numba_cuda/numba/cuda/vector_types.py +209 -0
  226. numba_cuda/numba/cuda/vectorizers.py +252 -0
  227. numba_cuda-0.0.12.dist-info/LICENSE +25 -0
  228. numba_cuda-0.0.12.dist-info/METADATA +68 -0
  229. numba_cuda-0.0.12.dist-info/RECORD +231 -0
  230. {numba_cuda-0.0.1.dist-info → numba_cuda-0.0.12.dist-info}/WHEEL +1 -1
  231. numba_cuda-0.0.1.dist-info/METADATA +0 -10
  232. numba_cuda-0.0.1.dist-info/RECORD +0 -5
  233. {numba_cuda-0.0.1.dist-info → numba_cuda-0.0.12.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,3382 @@
1
+ def abs(x):
2
+ """
3
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_abs.html
4
+
5
+ :param x: Argument.
6
+ :type x: int32
7
+ :rtype: int32
8
+ """
9
+
10
+
11
+ def acos(x):
12
+ """
13
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_acos.html
14
+
15
+ :param x: Argument.
16
+ :type x: float64
17
+ :rtype: float64
18
+ """
19
+
20
+
21
+ def acosf(x):
22
+ """
23
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_acosf.html
24
+
25
+ :param x: Argument.
26
+ :type x: float32
27
+ :rtype: float32
28
+ """
29
+
30
+
31
+ def acosh(x):
32
+ """
33
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_acosh.html
34
+
35
+ :param x: Argument.
36
+ :type x: float64
37
+ :rtype: float64
38
+ """
39
+
40
+
41
+ def acoshf(x):
42
+ """
43
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_acoshf.html
44
+
45
+ :param x: Argument.
46
+ :type x: float32
47
+ :rtype: float32
48
+ """
49
+
50
+
51
+ def asin(x):
52
+ """
53
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_asin.html
54
+
55
+ :param x: Argument.
56
+ :type x: float64
57
+ :rtype: float64
58
+ """
59
+
60
+
61
+ def asinf(x):
62
+ """
63
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_asinf.html
64
+
65
+ :param x: Argument.
66
+ :type x: float32
67
+ :rtype: float32
68
+ """
69
+
70
+
71
+ def asinh(x):
72
+ """
73
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_asinh.html
74
+
75
+ :param x: Argument.
76
+ :type x: float64
77
+ :rtype: float64
78
+ """
79
+
80
+
81
+ def asinhf(x):
82
+ """
83
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_asinhf.html
84
+
85
+ :param x: Argument.
86
+ :type x: float32
87
+ :rtype: float32
88
+ """
89
+
90
+
91
+ def atan(x):
92
+ """
93
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_atan.html
94
+
95
+ :param x: Argument.
96
+ :type x: float64
97
+ :rtype: float64
98
+ """
99
+
100
+
101
+ def atan2(x, y):
102
+ """
103
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_atan2.html
104
+
105
+ :param x: Argument.
106
+ :type x: float64
107
+ :param y: Argument.
108
+ :type y: float64
109
+ :rtype: float64
110
+ """
111
+
112
+
113
+ def atan2f(x, y):
114
+ """
115
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_atan2f.html
116
+
117
+ :param x: Argument.
118
+ :type x: float32
119
+ :param y: Argument.
120
+ :type y: float32
121
+ :rtype: float32
122
+ """
123
+
124
+
125
+ def atanf(x):
126
+ """
127
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_atanf.html
128
+
129
+ :param x: Argument.
130
+ :type x: float32
131
+ :rtype: float32
132
+ """
133
+
134
+
135
+ def atanh(x):
136
+ """
137
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_atanh.html
138
+
139
+ :param x: Argument.
140
+ :type x: float64
141
+ :rtype: float64
142
+ """
143
+
144
+
145
+ def atanhf(x):
146
+ """
147
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_atanhf.html
148
+
149
+ :param x: Argument.
150
+ :type x: float32
151
+ :rtype: float32
152
+ """
153
+
154
+
155
+ def brev(x):
156
+ """
157
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_brev.html
158
+
159
+ :param x: Argument.
160
+ :type x: int32
161
+ :rtype: int32
162
+ """
163
+
164
+
165
+ def brevll(x):
166
+ """
167
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_brevll.html
168
+
169
+ :param x: Argument.
170
+ :type x: int64
171
+ :rtype: int64
172
+ """
173
+
174
+
175
+ def byte_perm(x, y, z):
176
+ """
177
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_byte_perm.html
178
+
179
+ :param x: Argument.
180
+ :type x: int32
181
+ :param y: Argument.
182
+ :type y: int32
183
+ :param z: Argument.
184
+ :type z: int32
185
+ :rtype: int32
186
+ """
187
+
188
+
189
+ def cbrt(x):
190
+ """
191
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cbrt.html
192
+
193
+ :param x: Argument.
194
+ :type x: float64
195
+ :rtype: float64
196
+ """
197
+
198
+
199
+ def cbrtf(x):
200
+ """
201
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cbrtf.html
202
+
203
+ :param x: Argument.
204
+ :type x: float32
205
+ :rtype: float32
206
+ """
207
+
208
+
209
+ def ceil(x):
210
+ """
211
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ceil.html
212
+
213
+ :param x: Argument.
214
+ :type x: float64
215
+ :rtype: float64
216
+ """
217
+
218
+
219
+ def ceilf(x):
220
+ """
221
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ceilf.html
222
+
223
+ :param x: Argument.
224
+ :type x: float32
225
+ :rtype: float32
226
+ """
227
+
228
+
229
+ def clz(x):
230
+ """
231
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_clz.html
232
+
233
+ :param x: Argument.
234
+ :type x: int32
235
+ :rtype: int32
236
+ """
237
+
238
+
239
+ def clzll(x):
240
+ """
241
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_clzll.html
242
+
243
+ :param x: Argument.
244
+ :type x: int64
245
+ :rtype: int32
246
+ """
247
+
248
+
249
+ def copysign(x, y):
250
+ """
251
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_copysign.html
252
+
253
+ :param x: Argument.
254
+ :type x: float64
255
+ :param y: Argument.
256
+ :type y: float64
257
+ :rtype: float64
258
+ """
259
+
260
+
261
+ def copysignf(x, y):
262
+ """
263
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_copysignf.html
264
+
265
+ :param x: Argument.
266
+ :type x: float32
267
+ :param y: Argument.
268
+ :type y: float32
269
+ :rtype: float32
270
+ """
271
+
272
+
273
+ def cos(x):
274
+ """
275
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cos.html
276
+
277
+ :param x: Argument.
278
+ :type x: float64
279
+ :rtype: float64
280
+ """
281
+
282
+
283
+ def cosf(x):
284
+ """
285
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cosf.html
286
+
287
+ :param x: Argument.
288
+ :type x: float32
289
+ :rtype: float32
290
+ """
291
+
292
+
293
+ def cosh(x):
294
+ """
295
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cosh.html
296
+
297
+ :param x: Argument.
298
+ :type x: float64
299
+ :rtype: float64
300
+ """
301
+
302
+
303
+ def coshf(x):
304
+ """
305
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_coshf.html
306
+
307
+ :param x: Argument.
308
+ :type x: float32
309
+ :rtype: float32
310
+ """
311
+
312
+
313
+ def cospi(x):
314
+ """
315
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cospi.html
316
+
317
+ :param x: Argument.
318
+ :type x: float64
319
+ :rtype: float64
320
+ """
321
+
322
+
323
+ def cospif(x):
324
+ """
325
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cospif.html
326
+
327
+ :param x: Argument.
328
+ :type x: float32
329
+ :rtype: float32
330
+ """
331
+
332
+
333
+ def dadd_rd(x, y):
334
+ """
335
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dadd_rd.html
336
+
337
+ :param x: Argument.
338
+ :type x: float64
339
+ :param y: Argument.
340
+ :type y: float64
341
+ :rtype: float64
342
+ """
343
+
344
+
345
+ def dadd_rn(x, y):
346
+ """
347
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dadd_rn.html
348
+
349
+ :param x: Argument.
350
+ :type x: float64
351
+ :param y: Argument.
352
+ :type y: float64
353
+ :rtype: float64
354
+ """
355
+
356
+
357
+ def dadd_ru(x, y):
358
+ """
359
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dadd_ru.html
360
+
361
+ :param x: Argument.
362
+ :type x: float64
363
+ :param y: Argument.
364
+ :type y: float64
365
+ :rtype: float64
366
+ """
367
+
368
+
369
+ def dadd_rz(x, y):
370
+ """
371
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dadd_rz.html
372
+
373
+ :param x: Argument.
374
+ :type x: float64
375
+ :param y: Argument.
376
+ :type y: float64
377
+ :rtype: float64
378
+ """
379
+
380
+
381
+ def ddiv_rd(x, y):
382
+ """
383
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ddiv_rd.html
384
+
385
+ :param x: Argument.
386
+ :type x: float64
387
+ :param y: Argument.
388
+ :type y: float64
389
+ :rtype: float64
390
+ """
391
+
392
+
393
+ def ddiv_rn(x, y):
394
+ """
395
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ddiv_rn.html
396
+
397
+ :param x: Argument.
398
+ :type x: float64
399
+ :param y: Argument.
400
+ :type y: float64
401
+ :rtype: float64
402
+ """
403
+
404
+
405
+ def ddiv_ru(x, y):
406
+ """
407
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ddiv_ru.html
408
+
409
+ :param x: Argument.
410
+ :type x: float64
411
+ :param y: Argument.
412
+ :type y: float64
413
+ :rtype: float64
414
+ """
415
+
416
+
417
+ def ddiv_rz(x, y):
418
+ """
419
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ddiv_rz.html
420
+
421
+ :param x: Argument.
422
+ :type x: float64
423
+ :param y: Argument.
424
+ :type y: float64
425
+ :rtype: float64
426
+ """
427
+
428
+
429
+ def dmul_rd(x, y):
430
+ """
431
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dmul_rd.html
432
+
433
+ :param x: Argument.
434
+ :type x: float64
435
+ :param y: Argument.
436
+ :type y: float64
437
+ :rtype: float64
438
+ """
439
+
440
+
441
+ def dmul_rn(x, y):
442
+ """
443
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dmul_rn.html
444
+
445
+ :param x: Argument.
446
+ :type x: float64
447
+ :param y: Argument.
448
+ :type y: float64
449
+ :rtype: float64
450
+ """
451
+
452
+
453
+ def dmul_ru(x, y):
454
+ """
455
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dmul_ru.html
456
+
457
+ :param x: Argument.
458
+ :type x: float64
459
+ :param y: Argument.
460
+ :type y: float64
461
+ :rtype: float64
462
+ """
463
+
464
+
465
+ def dmul_rz(x, y):
466
+ """
467
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dmul_rz.html
468
+
469
+ :param x: Argument.
470
+ :type x: float64
471
+ :param y: Argument.
472
+ :type y: float64
473
+ :rtype: float64
474
+ """
475
+
476
+
477
+ def double2float_rd(d):
478
+ """
479
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2float_rd.html
480
+
481
+ :param d: Argument.
482
+ :type d: float64
483
+ :rtype: float32
484
+ """
485
+
486
+
487
+ def double2float_rn(d):
488
+ """
489
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2float_rn.html
490
+
491
+ :param d: Argument.
492
+ :type d: float64
493
+ :rtype: float32
494
+ """
495
+
496
+
497
+ def double2float_ru(d):
498
+ """
499
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2float_ru.html
500
+
501
+ :param d: Argument.
502
+ :type d: float64
503
+ :rtype: float32
504
+ """
505
+
506
+
507
+ def double2float_rz(d):
508
+ """
509
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2float_rz.html
510
+
511
+ :param d: Argument.
512
+ :type d: float64
513
+ :rtype: float32
514
+ """
515
+
516
+
517
+ def double2hiint(d):
518
+ """
519
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2hiint.html
520
+
521
+ :param d: Argument.
522
+ :type d: float64
523
+ :rtype: int32
524
+ """
525
+
526
+
527
+ def double2int_rd(d):
528
+ """
529
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2int_rd.html
530
+
531
+ :param d: Argument.
532
+ :type d: float64
533
+ :rtype: int32
534
+ """
535
+
536
+
537
+ def double2int_rn(d):
538
+ """
539
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2int_rn.html
540
+
541
+ :param d: Argument.
542
+ :type d: float64
543
+ :rtype: int32
544
+ """
545
+
546
+
547
+ def double2int_ru(d):
548
+ """
549
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2int_ru.html
550
+
551
+ :param d: Argument.
552
+ :type d: float64
553
+ :rtype: int32
554
+ """
555
+
556
+
557
+ def double2int_rz(d):
558
+ """
559
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2int_rz.html
560
+
561
+ :param d: Argument.
562
+ :type d: float64
563
+ :rtype: int32
564
+ """
565
+
566
+
567
+ def double2ll_rd(f):
568
+ """
569
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ll_rd.html
570
+
571
+ :param f: Argument.
572
+ :type f: float64
573
+ :rtype: int64
574
+ """
575
+
576
+
577
+ def double2ll_rn(f):
578
+ """
579
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ll_rn.html
580
+
581
+ :param f: Argument.
582
+ :type f: float64
583
+ :rtype: int64
584
+ """
585
+
586
+
587
+ def double2ll_ru(f):
588
+ """
589
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ll_ru.html
590
+
591
+ :param f: Argument.
592
+ :type f: float64
593
+ :rtype: int64
594
+ """
595
+
596
+
597
+ def double2ll_rz(f):
598
+ """
599
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ll_rz.html
600
+
601
+ :param f: Argument.
602
+ :type f: float64
603
+ :rtype: int64
604
+ """
605
+
606
+
607
+ def double2loint(d):
608
+ """
609
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2loint.html
610
+
611
+ :param d: Argument.
612
+ :type d: float64
613
+ :rtype: int32
614
+ """
615
+
616
+
617
+ def double2uint_rd(d):
618
+ """
619
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2uint_rd.html
620
+
621
+ :param d: Argument.
622
+ :type d: float64
623
+ :rtype: int32
624
+ """
625
+
626
+
627
+ def double2uint_rn(d):
628
+ """
629
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2uint_rn.html
630
+
631
+ :param d: Argument.
632
+ :type d: float64
633
+ :rtype: int32
634
+ """
635
+
636
+
637
+ def double2uint_ru(d):
638
+ """
639
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2uint_ru.html
640
+
641
+ :param d: Argument.
642
+ :type d: float64
643
+ :rtype: int32
644
+ """
645
+
646
+
647
+ def double2uint_rz(d):
648
+ """
649
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2uint_rz.html
650
+
651
+ :param d: Argument.
652
+ :type d: float64
653
+ :rtype: int32
654
+ """
655
+
656
+
657
+ def double2ull_rd(f):
658
+ """
659
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ull_rd.html
660
+
661
+ :param f: Argument.
662
+ :type f: float64
663
+ :rtype: int64
664
+ """
665
+
666
+
667
+ def double2ull_rn(f):
668
+ """
669
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ull_rn.html
670
+
671
+ :param f: Argument.
672
+ :type f: float64
673
+ :rtype: int64
674
+ """
675
+
676
+
677
+ def double2ull_ru(f):
678
+ """
679
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ull_ru.html
680
+
681
+ :param f: Argument.
682
+ :type f: float64
683
+ :rtype: int64
684
+ """
685
+
686
+
687
+ def double2ull_rz(f):
688
+ """
689
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double2ull_rz.html
690
+
691
+ :param f: Argument.
692
+ :type f: float64
693
+ :rtype: int64
694
+ """
695
+
696
+
697
+ def double_as_longlong(x):
698
+ """
699
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_double_as_longlong.html
700
+
701
+ :param x: Argument.
702
+ :type x: float64
703
+ :rtype: int64
704
+ """
705
+
706
+
707
+ def drcp_rd(x):
708
+ """
709
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_drcp_rd.html
710
+
711
+ :param x: Argument.
712
+ :type x: float64
713
+ :rtype: float64
714
+ """
715
+
716
+
717
+ def drcp_rn(x):
718
+ """
719
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_drcp_rn.html
720
+
721
+ :param x: Argument.
722
+ :type x: float64
723
+ :rtype: float64
724
+ """
725
+
726
+
727
+ def drcp_ru(x):
728
+ """
729
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_drcp_ru.html
730
+
731
+ :param x: Argument.
732
+ :type x: float64
733
+ :rtype: float64
734
+ """
735
+
736
+
737
+ def drcp_rz(x):
738
+ """
739
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_drcp_rz.html
740
+
741
+ :param x: Argument.
742
+ :type x: float64
743
+ :rtype: float64
744
+ """
745
+
746
+
747
+ def dsqrt_rd(x):
748
+ """
749
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dsqrt_rd.html
750
+
751
+ :param x: Argument.
752
+ :type x: float64
753
+ :rtype: float64
754
+ """
755
+
756
+
757
+ def dsqrt_rn(x):
758
+ """
759
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dsqrt_rn.html
760
+
761
+ :param x: Argument.
762
+ :type x: float64
763
+ :rtype: float64
764
+ """
765
+
766
+
767
+ def dsqrt_ru(x):
768
+ """
769
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dsqrt_ru.html
770
+
771
+ :param x: Argument.
772
+ :type x: float64
773
+ :rtype: float64
774
+ """
775
+
776
+
777
+ def dsqrt_rz(x):
778
+ """
779
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_dsqrt_rz.html
780
+
781
+ :param x: Argument.
782
+ :type x: float64
783
+ :rtype: float64
784
+ """
785
+
786
+
787
+ def erf(x):
788
+ """
789
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erf.html
790
+
791
+ :param x: Argument.
792
+ :type x: float64
793
+ :rtype: float64
794
+ """
795
+
796
+
797
+ def erfc(x):
798
+ """
799
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfc.html
800
+
801
+ :param x: Argument.
802
+ :type x: float64
803
+ :rtype: float64
804
+ """
805
+
806
+
807
+ def erfcf(x):
808
+ """
809
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfcf.html
810
+
811
+ :param x: Argument.
812
+ :type x: float32
813
+ :rtype: float32
814
+ """
815
+
816
+
817
+ def erfcinv(x):
818
+ """
819
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfcinv.html
820
+
821
+ :param x: Argument.
822
+ :type x: float64
823
+ :rtype: float64
824
+ """
825
+
826
+
827
+ def erfcinvf(x):
828
+ """
829
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfcinvf.html
830
+
831
+ :param x: Argument.
832
+ :type x: float32
833
+ :rtype: float32
834
+ """
835
+
836
+
837
+ def erfcx(x):
838
+ """
839
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfcx.html
840
+
841
+ :param x: Argument.
842
+ :type x: float64
843
+ :rtype: float64
844
+ """
845
+
846
+
847
+ def erfcxf(x):
848
+ """
849
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfcxf.html
850
+
851
+ :param x: Argument.
852
+ :type x: float32
853
+ :rtype: float32
854
+ """
855
+
856
+
857
+ def erff(x):
858
+ """
859
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erff.html
860
+
861
+ :param x: Argument.
862
+ :type x: float32
863
+ :rtype: float32
864
+ """
865
+
866
+
867
+ def erfinv(x):
868
+ """
869
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfinv.html
870
+
871
+ :param x: Argument.
872
+ :type x: float64
873
+ :rtype: float64
874
+ """
875
+
876
+
877
+ def erfinvf(x):
878
+ """
879
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_erfinvf.html
880
+
881
+ :param x: Argument.
882
+ :type x: float32
883
+ :rtype: float32
884
+ """
885
+
886
+
887
+ def exp(x):
888
+ """
889
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_exp.html
890
+
891
+ :param x: Argument.
892
+ :type x: float64
893
+ :rtype: float64
894
+ """
895
+
896
+
897
+ def exp10(x):
898
+ """
899
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_exp10.html
900
+
901
+ :param x: Argument.
902
+ :type x: float64
903
+ :rtype: float64
904
+ """
905
+
906
+
907
+ def exp10f(x):
908
+ """
909
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_exp10f.html
910
+
911
+ :param x: Argument.
912
+ :type x: float32
913
+ :rtype: float32
914
+ """
915
+
916
+
917
+ def exp2(x):
918
+ """
919
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_exp2.html
920
+
921
+ :param x: Argument.
922
+ :type x: float64
923
+ :rtype: float64
924
+ """
925
+
926
+
927
+ def exp2f(x):
928
+ """
929
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_exp2f.html
930
+
931
+ :param x: Argument.
932
+ :type x: float32
933
+ :rtype: float32
934
+ """
935
+
936
+
937
+ def expf(x):
938
+ """
939
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_expf.html
940
+
941
+ :param x: Argument.
942
+ :type x: float32
943
+ :rtype: float32
944
+ """
945
+
946
+
947
+ def expm1(x):
948
+ """
949
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_expm1.html
950
+
951
+ :param x: Argument.
952
+ :type x: float64
953
+ :rtype: float64
954
+ """
955
+
956
+
957
+ def expm1f(x):
958
+ """
959
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_expm1f.html
960
+
961
+ :param x: Argument.
962
+ :type x: float32
963
+ :rtype: float32
964
+ """
965
+
966
+
967
+ def fabs(f):
968
+ """
969
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fabs.html
970
+
971
+ :param f: Argument.
972
+ :type f: float64
973
+ :rtype: float64
974
+ """
975
+
976
+
977
+ def fabsf(f):
978
+ """
979
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fabsf.html
980
+
981
+ :param f: Argument.
982
+ :type f: float32
983
+ :rtype: float32
984
+ """
985
+
986
+
987
+ def fadd_rd(x, y):
988
+ """
989
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fadd_rd.html
990
+
991
+ :param x: Argument.
992
+ :type x: float32
993
+ :param y: Argument.
994
+ :type y: float32
995
+ :rtype: float32
996
+ """
997
+
998
+
999
+ def fadd_rn(x, y):
1000
+ """
1001
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fadd_rn.html
1002
+
1003
+ :param x: Argument.
1004
+ :type x: float32
1005
+ :param y: Argument.
1006
+ :type y: float32
1007
+ :rtype: float32
1008
+ """
1009
+
1010
+
1011
+ def fadd_ru(x, y):
1012
+ """
1013
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fadd_ru.html
1014
+
1015
+ :param x: Argument.
1016
+ :type x: float32
1017
+ :param y: Argument.
1018
+ :type y: float32
1019
+ :rtype: float32
1020
+ """
1021
+
1022
+
1023
+ def fadd_rz(x, y):
1024
+ """
1025
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fadd_rz.html
1026
+
1027
+ :param x: Argument.
1028
+ :type x: float32
1029
+ :param y: Argument.
1030
+ :type y: float32
1031
+ :rtype: float32
1032
+ """
1033
+
1034
+
1035
+ def fast_cosf(x):
1036
+ """
1037
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_cosf.html
1038
+
1039
+ :param x: Argument.
1040
+ :type x: float32
1041
+ :rtype: float32
1042
+ """
1043
+
1044
+
1045
+ def fast_exp10f(x):
1046
+ """
1047
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_exp10f.html
1048
+
1049
+ :param x: Argument.
1050
+ :type x: float32
1051
+ :rtype: float32
1052
+ """
1053
+
1054
+
1055
+ def fast_expf(x):
1056
+ """
1057
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_expf.html
1058
+
1059
+ :param x: Argument.
1060
+ :type x: float32
1061
+ :rtype: float32
1062
+ """
1063
+
1064
+
1065
+ def fast_fdividef(x, y):
1066
+ """
1067
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_fdividef.html
1068
+
1069
+ :param x: Argument.
1070
+ :type x: float32
1071
+ :param y: Argument.
1072
+ :type y: float32
1073
+ :rtype: float32
1074
+ """
1075
+
1076
+
1077
+ def fast_log10f(x):
1078
+ """
1079
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_log10f.html
1080
+
1081
+ :param x: Argument.
1082
+ :type x: float32
1083
+ :rtype: float32
1084
+ """
1085
+
1086
+
1087
+ def fast_log2f(x):
1088
+ """
1089
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_log2f.html
1090
+
1091
+ :param x: Argument.
1092
+ :type x: float32
1093
+ :rtype: float32
1094
+ """
1095
+
1096
+
1097
+ def fast_logf(x):
1098
+ """
1099
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_logf.html
1100
+
1101
+ :param x: Argument.
1102
+ :type x: float32
1103
+ :rtype: float32
1104
+ """
1105
+
1106
+
1107
+ def fast_powf(x, y):
1108
+ """
1109
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_powf.html
1110
+
1111
+ :param x: Argument.
1112
+ :type x: float32
1113
+ :param y: Argument.
1114
+ :type y: float32
1115
+ :rtype: float32
1116
+ """
1117
+
1118
+
1119
+ def fast_sincosf(x):
1120
+ """
1121
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_sincosf.html
1122
+
1123
+ :param x: Argument.
1124
+ :type x: float32
1125
+ :rtype: UniTuple(float32 x 2)
1126
+ """
1127
+
1128
+
1129
+ def fast_sinf(x):
1130
+ """
1131
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_sinf.html
1132
+
1133
+ :param x: Argument.
1134
+ :type x: float32
1135
+ :rtype: float32
1136
+ """
1137
+
1138
+
1139
+ def fast_tanf(x):
1140
+ """
1141
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fast_tanf.html
1142
+
1143
+ :param x: Argument.
1144
+ :type x: float32
1145
+ :rtype: float32
1146
+ """
1147
+
1148
+
1149
+ def fdim(x, y):
1150
+ """
1151
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fdim.html
1152
+
1153
+ :param x: Argument.
1154
+ :type x: float64
1155
+ :param y: Argument.
1156
+ :type y: float64
1157
+ :rtype: float64
1158
+ """
1159
+
1160
+
1161
+ def fdimf(x, y):
1162
+ """
1163
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fdimf.html
1164
+
1165
+ :param x: Argument.
1166
+ :type x: float32
1167
+ :param y: Argument.
1168
+ :type y: float32
1169
+ :rtype: float32
1170
+ """
1171
+
1172
+
1173
+ def fdiv_rd(x, y):
1174
+ """
1175
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fdiv_rd.html
1176
+
1177
+ :param x: Argument.
1178
+ :type x: float32
1179
+ :param y: Argument.
1180
+ :type y: float32
1181
+ :rtype: float32
1182
+ """
1183
+
1184
+
1185
+ def fdiv_rn(x, y):
1186
+ """
1187
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fdiv_rn.html
1188
+
1189
+ :param x: Argument.
1190
+ :type x: float32
1191
+ :param y: Argument.
1192
+ :type y: float32
1193
+ :rtype: float32
1194
+ """
1195
+
1196
+
1197
+ def fdiv_ru(x, y):
1198
+ """
1199
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fdiv_ru.html
1200
+
1201
+ :param x: Argument.
1202
+ :type x: float32
1203
+ :param y: Argument.
1204
+ :type y: float32
1205
+ :rtype: float32
1206
+ """
1207
+
1208
+
1209
+ def fdiv_rz(x, y):
1210
+ """
1211
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fdiv_rz.html
1212
+
1213
+ :param x: Argument.
1214
+ :type x: float32
1215
+ :param y: Argument.
1216
+ :type y: float32
1217
+ :rtype: float32
1218
+ """
1219
+
1220
+
1221
+ def ffs(x):
1222
+ """
1223
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ffs.html
1224
+
1225
+ :param x: Argument.
1226
+ :type x: int32
1227
+ :rtype: int32
1228
+ """
1229
+
1230
+
1231
+ def ffsll(x):
1232
+ """
1233
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ffsll.html
1234
+
1235
+ :param x: Argument.
1236
+ :type x: int64
1237
+ :rtype: int32
1238
+ """
1239
+
1240
+
1241
+ def finitef(x):
1242
+ """
1243
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_finitef.html
1244
+
1245
+ :param x: Argument.
1246
+ :type x: float32
1247
+ :rtype: int32
1248
+ """
1249
+
1250
+
1251
+ def float2half_rn(f):
1252
+ """
1253
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2half_rn.html
1254
+
1255
+ :param f: Argument.
1256
+ :type f: float32
1257
+ :rtype: int16
1258
+ """
1259
+
1260
+
1261
+ def float2int_rd(x):
1262
+ """
1263
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2int_rd.html
1264
+
1265
+ :param in: Argument.
1266
+ :type in: float32
1267
+ :rtype: int32
1268
+ """
1269
+
1270
+
1271
+ def float2int_rn(x):
1272
+ """
1273
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2int_rn.html
1274
+
1275
+ :param in: Argument.
1276
+ :type in: float32
1277
+ :rtype: int32
1278
+ """
1279
+
1280
+
1281
+ def float2int_ru(x):
1282
+ """
1283
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2int_ru.html
1284
+
1285
+ :param in: Argument.
1286
+ :type in: float32
1287
+ :rtype: int32
1288
+ """
1289
+
1290
+
1291
+ def float2int_rz(x):
1292
+ """
1293
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2int_rz.html
1294
+
1295
+ :param in: Argument.
1296
+ :type in: float32
1297
+ :rtype: int32
1298
+ """
1299
+
1300
+
1301
+ def float2ll_rd(f):
1302
+ """
1303
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ll_rd.html
1304
+
1305
+ :param f: Argument.
1306
+ :type f: float32
1307
+ :rtype: int64
1308
+ """
1309
+
1310
+
1311
+ def float2ll_rn(f):
1312
+ """
1313
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ll_rn.html
1314
+
1315
+ :param f: Argument.
1316
+ :type f: float32
1317
+ :rtype: int64
1318
+ """
1319
+
1320
+
1321
+ def float2ll_ru(f):
1322
+ """
1323
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ll_ru.html
1324
+
1325
+ :param f: Argument.
1326
+ :type f: float32
1327
+ :rtype: int64
1328
+ """
1329
+
1330
+
1331
+ def float2ll_rz(f):
1332
+ """
1333
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ll_rz.html
1334
+
1335
+ :param f: Argument.
1336
+ :type f: float32
1337
+ :rtype: int64
1338
+ """
1339
+
1340
+
1341
+ def float2uint_rd(x):
1342
+ """
1343
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2uint_rd.html
1344
+
1345
+ :param in: Argument.
1346
+ :type in: float32
1347
+ :rtype: int32
1348
+ """
1349
+
1350
+
1351
+ def float2uint_rn(x):
1352
+ """
1353
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2uint_rn.html
1354
+
1355
+ :param in: Argument.
1356
+ :type in: float32
1357
+ :rtype: int32
1358
+ """
1359
+
1360
+
1361
+ def float2uint_ru(x):
1362
+ """
1363
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2uint_ru.html
1364
+
1365
+ :param in: Argument.
1366
+ :type in: float32
1367
+ :rtype: int32
1368
+ """
1369
+
1370
+
1371
+ def float2uint_rz(x):
1372
+ """
1373
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2uint_rz.html
1374
+
1375
+ :param in: Argument.
1376
+ :type in: float32
1377
+ :rtype: int32
1378
+ """
1379
+
1380
+
1381
+ def float2ull_rd(f):
1382
+ """
1383
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ull_rd.html
1384
+
1385
+ :param f: Argument.
1386
+ :type f: float32
1387
+ :rtype: int64
1388
+ """
1389
+
1390
+
1391
+ def float2ull_rn(f):
1392
+ """
1393
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ull_rn.html
1394
+
1395
+ :param f: Argument.
1396
+ :type f: float32
1397
+ :rtype: int64
1398
+ """
1399
+
1400
+
1401
+ def float2ull_ru(f):
1402
+ """
1403
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ull_ru.html
1404
+
1405
+ :param f: Argument.
1406
+ :type f: float32
1407
+ :rtype: int64
1408
+ """
1409
+
1410
+
1411
+ def float2ull_rz(f):
1412
+ """
1413
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float2ull_rz.html
1414
+
1415
+ :param f: Argument.
1416
+ :type f: float32
1417
+ :rtype: int64
1418
+ """
1419
+
1420
+
1421
+ def float_as_int(x):
1422
+ """
1423
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_float_as_int.html
1424
+
1425
+ :param x: Argument.
1426
+ :type x: float32
1427
+ :rtype: int32
1428
+ """
1429
+
1430
+
1431
+ def floor(f):
1432
+ """
1433
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_floor.html
1434
+
1435
+ :param f: Argument.
1436
+ :type f: float64
1437
+ :rtype: float64
1438
+ """
1439
+
1440
+
1441
+ def floorf(f):
1442
+ """
1443
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_floorf.html
1444
+
1445
+ :param f: Argument.
1446
+ :type f: float32
1447
+ :rtype: float32
1448
+ """
1449
+
1450
+
1451
+ def fma(x, y, z):
1452
+ """
1453
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fma.html
1454
+
1455
+ :param x: Argument.
1456
+ :type x: float64
1457
+ :param y: Argument.
1458
+ :type y: float64
1459
+ :param z: Argument.
1460
+ :type z: float64
1461
+ :rtype: float64
1462
+ """
1463
+
1464
+
1465
+ def fma_rd(x, y, z):
1466
+ """
1467
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fma_rd.html
1468
+
1469
+ :param x: Argument.
1470
+ :type x: float64
1471
+ :param y: Argument.
1472
+ :type y: float64
1473
+ :param z: Argument.
1474
+ :type z: float64
1475
+ :rtype: float64
1476
+ """
1477
+
1478
+
1479
+ def fma_rn(x, y, z):
1480
+ """
1481
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fma_rn.html
1482
+
1483
+ :param x: Argument.
1484
+ :type x: float64
1485
+ :param y: Argument.
1486
+ :type y: float64
1487
+ :param z: Argument.
1488
+ :type z: float64
1489
+ :rtype: float64
1490
+ """
1491
+
1492
+
1493
+ def fma_ru(x, y, z):
1494
+ """
1495
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fma_ru.html
1496
+
1497
+ :param x: Argument.
1498
+ :type x: float64
1499
+ :param y: Argument.
1500
+ :type y: float64
1501
+ :param z: Argument.
1502
+ :type z: float64
1503
+ :rtype: float64
1504
+ """
1505
+
1506
+
1507
+ def fma_rz(x, y, z):
1508
+ """
1509
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fma_rz.html
1510
+
1511
+ :param x: Argument.
1512
+ :type x: float64
1513
+ :param y: Argument.
1514
+ :type y: float64
1515
+ :param z: Argument.
1516
+ :type z: float64
1517
+ :rtype: float64
1518
+ """
1519
+
1520
+
1521
+ def fmaf(x, y, z):
1522
+ """
1523
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmaf.html
1524
+
1525
+ :param x: Argument.
1526
+ :type x: float32
1527
+ :param y: Argument.
1528
+ :type y: float32
1529
+ :param z: Argument.
1530
+ :type z: float32
1531
+ :rtype: float32
1532
+ """
1533
+
1534
+
1535
+ def fmaf_rd(x, y, z):
1536
+ """
1537
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmaf_rd.html
1538
+
1539
+ :param x: Argument.
1540
+ :type x: float32
1541
+ :param y: Argument.
1542
+ :type y: float32
1543
+ :param z: Argument.
1544
+ :type z: float32
1545
+ :rtype: float32
1546
+ """
1547
+
1548
+
1549
+ def fmaf_rn(x, y, z):
1550
+ """
1551
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmaf_rn.html
1552
+
1553
+ :param x: Argument.
1554
+ :type x: float32
1555
+ :param y: Argument.
1556
+ :type y: float32
1557
+ :param z: Argument.
1558
+ :type z: float32
1559
+ :rtype: float32
1560
+ """
1561
+
1562
+
1563
+ def fmaf_ru(x, y, z):
1564
+ """
1565
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmaf_ru.html
1566
+
1567
+ :param x: Argument.
1568
+ :type x: float32
1569
+ :param y: Argument.
1570
+ :type y: float32
1571
+ :param z: Argument.
1572
+ :type z: float32
1573
+ :rtype: float32
1574
+ """
1575
+
1576
+
1577
+ def fmaf_rz(x, y, z):
1578
+ """
1579
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmaf_rz.html
1580
+
1581
+ :param x: Argument.
1582
+ :type x: float32
1583
+ :param y: Argument.
1584
+ :type y: float32
1585
+ :param z: Argument.
1586
+ :type z: float32
1587
+ :rtype: float32
1588
+ """
1589
+
1590
+
1591
+ def fmax(x, y):
1592
+ """
1593
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmax.html
1594
+
1595
+ :param x: Argument.
1596
+ :type x: float64
1597
+ :param y: Argument.
1598
+ :type y: float64
1599
+ :rtype: float64
1600
+ """
1601
+
1602
+
1603
+ def fmaxf(x, y):
1604
+ """
1605
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmaxf.html
1606
+
1607
+ :param x: Argument.
1608
+ :type x: float32
1609
+ :param y: Argument.
1610
+ :type y: float32
1611
+ :rtype: float32
1612
+ """
1613
+
1614
+
1615
+ def fmin(x, y):
1616
+ """
1617
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmin.html
1618
+
1619
+ :param x: Argument.
1620
+ :type x: float64
1621
+ :param y: Argument.
1622
+ :type y: float64
1623
+ :rtype: float64
1624
+ """
1625
+
1626
+
1627
+ def fminf(x, y):
1628
+ """
1629
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fminf.html
1630
+
1631
+ :param x: Argument.
1632
+ :type x: float32
1633
+ :param y: Argument.
1634
+ :type y: float32
1635
+ :rtype: float32
1636
+ """
1637
+
1638
+
1639
+ def fmod(x, y):
1640
+ """
1641
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmod.html
1642
+
1643
+ :param x: Argument.
1644
+ :type x: float64
1645
+ :param y: Argument.
1646
+ :type y: float64
1647
+ :rtype: float64
1648
+ """
1649
+
1650
+
1651
+ def fmodf(x, y):
1652
+ """
1653
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmodf.html
1654
+
1655
+ :param x: Argument.
1656
+ :type x: float32
1657
+ :param y: Argument.
1658
+ :type y: float32
1659
+ :rtype: float32
1660
+ """
1661
+
1662
+
1663
+ def fmul_rd(x, y):
1664
+ """
1665
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmul_rd.html
1666
+
1667
+ :param x: Argument.
1668
+ :type x: float32
1669
+ :param y: Argument.
1670
+ :type y: float32
1671
+ :rtype: float32
1672
+ """
1673
+
1674
+
1675
+ def fmul_rn(x, y):
1676
+ """
1677
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmul_rn.html
1678
+
1679
+ :param x: Argument.
1680
+ :type x: float32
1681
+ :param y: Argument.
1682
+ :type y: float32
1683
+ :rtype: float32
1684
+ """
1685
+
1686
+
1687
+ def fmul_ru(x, y):
1688
+ """
1689
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmul_ru.html
1690
+
1691
+ :param x: Argument.
1692
+ :type x: float32
1693
+ :param y: Argument.
1694
+ :type y: float32
1695
+ :rtype: float32
1696
+ """
1697
+
1698
+
1699
+ def fmul_rz(x, y):
1700
+ """
1701
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fmul_rz.html
1702
+
1703
+ :param x: Argument.
1704
+ :type x: float32
1705
+ :param y: Argument.
1706
+ :type y: float32
1707
+ :rtype: float32
1708
+ """
1709
+
1710
+
1711
+ def frcp_rd(x):
1712
+ """
1713
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_frcp_rd.html
1714
+
1715
+ :param x: Argument.
1716
+ :type x: float32
1717
+ :rtype: float32
1718
+ """
1719
+
1720
+
1721
+ def frcp_rn(x):
1722
+ """
1723
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_frcp_rn.html
1724
+
1725
+ :param x: Argument.
1726
+ :type x: float32
1727
+ :rtype: float32
1728
+ """
1729
+
1730
+
1731
+ def frcp_ru(x):
1732
+ """
1733
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_frcp_ru.html
1734
+
1735
+ :param x: Argument.
1736
+ :type x: float32
1737
+ :rtype: float32
1738
+ """
1739
+
1740
+
1741
+ def frcp_rz(x):
1742
+ """
1743
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_frcp_rz.html
1744
+
1745
+ :param x: Argument.
1746
+ :type x: float32
1747
+ :rtype: float32
1748
+ """
1749
+
1750
+
1751
+ def frexp(x):
1752
+ """
1753
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_frexp.html
1754
+
1755
+ :param x: Argument.
1756
+ :type x: float64
1757
+ :rtype: Tuple(float64, int32)
1758
+ """
1759
+
1760
+
1761
+ def frexpf(x):
1762
+ """
1763
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_frexpf.html
1764
+
1765
+ :param x: Argument.
1766
+ :type x: float32
1767
+ :rtype: Tuple(float32, int32)
1768
+ """
1769
+
1770
+
1771
+ def frsqrt_rn(x):
1772
+ """
1773
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_frsqrt_rn.html
1774
+
1775
+ :param x: Argument.
1776
+ :type x: float32
1777
+ :rtype: float32
1778
+ """
1779
+
1780
+
1781
+ def fsqrt_rd(x):
1782
+ """
1783
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsqrt_rd.html
1784
+
1785
+ :param x: Argument.
1786
+ :type x: float32
1787
+ :rtype: float32
1788
+ """
1789
+
1790
+
1791
+ def fsqrt_rn(x):
1792
+ """
1793
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsqrt_rn.html
1794
+
1795
+ :param x: Argument.
1796
+ :type x: float32
1797
+ :rtype: float32
1798
+ """
1799
+
1800
+
1801
+ def fsqrt_ru(x):
1802
+ """
1803
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsqrt_ru.html
1804
+
1805
+ :param x: Argument.
1806
+ :type x: float32
1807
+ :rtype: float32
1808
+ """
1809
+
1810
+
1811
+ def fsqrt_rz(x):
1812
+ """
1813
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsqrt_rz.html
1814
+
1815
+ :param x: Argument.
1816
+ :type x: float32
1817
+ :rtype: float32
1818
+ """
1819
+
1820
+
1821
+ def fsub_rd(x, y):
1822
+ """
1823
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsub_rd.html
1824
+
1825
+ :param x: Argument.
1826
+ :type x: float32
1827
+ :param y: Argument.
1828
+ :type y: float32
1829
+ :rtype: float32
1830
+ """
1831
+
1832
+
1833
+ def fsub_rn(x, y):
1834
+ """
1835
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsub_rn.html
1836
+
1837
+ :param x: Argument.
1838
+ :type x: float32
1839
+ :param y: Argument.
1840
+ :type y: float32
1841
+ :rtype: float32
1842
+ """
1843
+
1844
+
1845
+ def fsub_ru(x, y):
1846
+ """
1847
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsub_ru.html
1848
+
1849
+ :param x: Argument.
1850
+ :type x: float32
1851
+ :param y: Argument.
1852
+ :type y: float32
1853
+ :rtype: float32
1854
+ """
1855
+
1856
+
1857
+ def fsub_rz(x, y):
1858
+ """
1859
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_fsub_rz.html
1860
+
1861
+ :param x: Argument.
1862
+ :type x: float32
1863
+ :param y: Argument.
1864
+ :type y: float32
1865
+ :rtype: float32
1866
+ """
1867
+
1868
+
1869
+ def hadd(x, y):
1870
+ """
1871
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_hadd.html
1872
+
1873
+ :param x: Argument.
1874
+ :type x: int32
1875
+ :param y: Argument.
1876
+ :type y: int32
1877
+ :rtype: int32
1878
+ """
1879
+
1880
+
1881
+ def half2float(h):
1882
+ """
1883
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_half2float.html
1884
+
1885
+ :param h: Argument.
1886
+ :type h: int16
1887
+ :rtype: float32
1888
+ """
1889
+
1890
+
1891
+ def hiloint2double(x, y):
1892
+ """
1893
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_hiloint2double.html
1894
+
1895
+ :param x: Argument.
1896
+ :type x: int32
1897
+ :param y: Argument.
1898
+ :type y: int32
1899
+ :rtype: float64
1900
+ """
1901
+
1902
+
1903
+ def hypot(x, y):
1904
+ """
1905
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_hypot.html
1906
+
1907
+ :param x: Argument.
1908
+ :type x: float64
1909
+ :param y: Argument.
1910
+ :type y: float64
1911
+ :rtype: float64
1912
+ """
1913
+
1914
+
1915
+ def hypotf(x, y):
1916
+ """
1917
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_hypotf.html
1918
+
1919
+ :param x: Argument.
1920
+ :type x: float32
1921
+ :param y: Argument.
1922
+ :type y: float32
1923
+ :rtype: float32
1924
+ """
1925
+
1926
+
1927
+ def ilogb(x):
1928
+ """
1929
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ilogb.html
1930
+
1931
+ :param x: Argument.
1932
+ :type x: float64
1933
+ :rtype: int32
1934
+ """
1935
+
1936
+
1937
+ def ilogbf(x):
1938
+ """
1939
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ilogbf.html
1940
+
1941
+ :param x: Argument.
1942
+ :type x: float32
1943
+ :rtype: int32
1944
+ """
1945
+
1946
+
1947
+ def int2double_rn(i):
1948
+ """
1949
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_int2double_rn.html
1950
+
1951
+ :param i: Argument.
1952
+ :type i: int32
1953
+ :rtype: float64
1954
+ """
1955
+
1956
+
1957
+ def int2float_rd(x):
1958
+ """
1959
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_int2float_rd.html
1960
+
1961
+ :param in: Argument.
1962
+ :type in: int32
1963
+ :rtype: float32
1964
+ """
1965
+
1966
+
1967
+ def int2float_rn(x):
1968
+ """
1969
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_int2float_rn.html
1970
+
1971
+ :param in: Argument.
1972
+ :type in: int32
1973
+ :rtype: float32
1974
+ """
1975
+
1976
+
1977
+ def int2float_ru(x):
1978
+ """
1979
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_int2float_ru.html
1980
+
1981
+ :param in: Argument.
1982
+ :type in: int32
1983
+ :rtype: float32
1984
+ """
1985
+
1986
+
1987
+ def int2float_rz(x):
1988
+ """
1989
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_int2float_rz.html
1990
+
1991
+ :param in: Argument.
1992
+ :type in: int32
1993
+ :rtype: float32
1994
+ """
1995
+
1996
+
1997
+ def int_as_float(x):
1998
+ """
1999
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_int_as_float.html
2000
+
2001
+ :param x: Argument.
2002
+ :type x: int32
2003
+ :rtype: float32
2004
+ """
2005
+
2006
+
2007
+ def isfinited(x):
2008
+ """
2009
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_isfinited.html
2010
+
2011
+ :param x: Argument.
2012
+ :type x: float64
2013
+ :rtype: int32
2014
+ """
2015
+
2016
+
2017
+ def isinfd(x):
2018
+ """
2019
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_isinfd.html
2020
+
2021
+ :param x: Argument.
2022
+ :type x: float64
2023
+ :rtype: int32
2024
+ """
2025
+
2026
+
2027
+ def isinff(x):
2028
+ """
2029
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_isinff.html
2030
+
2031
+ :param x: Argument.
2032
+ :type x: float32
2033
+ :rtype: int32
2034
+ """
2035
+
2036
+
2037
+ def isnand(x):
2038
+ """
2039
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_isnand.html
2040
+
2041
+ :param x: Argument.
2042
+ :type x: float64
2043
+ :rtype: int32
2044
+ """
2045
+
2046
+
2047
+ def isnanf(x):
2048
+ """
2049
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_isnanf.html
2050
+
2051
+ :param x: Argument.
2052
+ :type x: float32
2053
+ :rtype: int32
2054
+ """
2055
+
2056
+
2057
+ def j0(x):
2058
+ """
2059
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_j0.html
2060
+
2061
+ :param x: Argument.
2062
+ :type x: float64
2063
+ :rtype: float64
2064
+ """
2065
+
2066
+
2067
+ def j0f(x):
2068
+ """
2069
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_j0f.html
2070
+
2071
+ :param x: Argument.
2072
+ :type x: float32
2073
+ :rtype: float32
2074
+ """
2075
+
2076
+
2077
+ def j1(x):
2078
+ """
2079
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_j1.html
2080
+
2081
+ :param x: Argument.
2082
+ :type x: float64
2083
+ :rtype: float64
2084
+ """
2085
+
2086
+
2087
+ def j1f(x):
2088
+ """
2089
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_j1f.html
2090
+
2091
+ :param x: Argument.
2092
+ :type x: float32
2093
+ :rtype: float32
2094
+ """
2095
+
2096
+
2097
+ def jn(n, x):
2098
+ """
2099
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_jn.html
2100
+
2101
+ :param n: Argument.
2102
+ :type n: int32
2103
+ :param x: Argument.
2104
+ :type x: float64
2105
+ :rtype: float64
2106
+ """
2107
+
2108
+
2109
+ def jnf(n, x):
2110
+ """
2111
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_jnf.html
2112
+
2113
+ :param n: Argument.
2114
+ :type n: int32
2115
+ :param x: Argument.
2116
+ :type x: float32
2117
+ :rtype: float32
2118
+ """
2119
+
2120
+
2121
+ def ldexp(x, y):
2122
+ """
2123
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ldexp.html
2124
+
2125
+ :param x: Argument.
2126
+ :type x: float64
2127
+ :param y: Argument.
2128
+ :type y: int32
2129
+ :rtype: float64
2130
+ """
2131
+
2132
+
2133
+ def ldexpf(x, y):
2134
+ """
2135
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ldexpf.html
2136
+
2137
+ :param x: Argument.
2138
+ :type x: float32
2139
+ :param y: Argument.
2140
+ :type y: int32
2141
+ :rtype: float32
2142
+ """
2143
+
2144
+
2145
+ def lgamma(x):
2146
+ """
2147
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_lgamma.html
2148
+
2149
+ :param x: Argument.
2150
+ :type x: float64
2151
+ :rtype: float64
2152
+ """
2153
+
2154
+
2155
+ def lgammaf(x):
2156
+ """
2157
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_lgammaf.html
2158
+
2159
+ :param x: Argument.
2160
+ :type x: float32
2161
+ :rtype: float32
2162
+ """
2163
+
2164
+
2165
+ def ll2double_rd(l):
2166
+ """
2167
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2double_rd.html
2168
+
2169
+ :param l: Argument.
2170
+ :type l: int64
2171
+ :rtype: float64
2172
+ """
2173
+
2174
+
2175
+ def ll2double_rn(l):
2176
+ """
2177
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2double_rn.html
2178
+
2179
+ :param l: Argument.
2180
+ :type l: int64
2181
+ :rtype: float64
2182
+ """
2183
+
2184
+
2185
+ def ll2double_ru(l):
2186
+ """
2187
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2double_ru.html
2188
+
2189
+ :param l: Argument.
2190
+ :type l: int64
2191
+ :rtype: float64
2192
+ """
2193
+
2194
+
2195
+ def ll2double_rz(l):
2196
+ """
2197
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2double_rz.html
2198
+
2199
+ :param l: Argument.
2200
+ :type l: int64
2201
+ :rtype: float64
2202
+ """
2203
+
2204
+
2205
+ def ll2float_rd(l):
2206
+ """
2207
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2float_rd.html
2208
+
2209
+ :param l: Argument.
2210
+ :type l: int64
2211
+ :rtype: float32
2212
+ """
2213
+
2214
+
2215
+ def ll2float_rn(l):
2216
+ """
2217
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2float_rn.html
2218
+
2219
+ :param l: Argument.
2220
+ :type l: int64
2221
+ :rtype: float32
2222
+ """
2223
+
2224
+
2225
+ def ll2float_ru(l):
2226
+ """
2227
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2float_ru.html
2228
+
2229
+ :param l: Argument.
2230
+ :type l: int64
2231
+ :rtype: float32
2232
+ """
2233
+
2234
+
2235
+ def ll2float_rz(l):
2236
+ """
2237
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ll2float_rz.html
2238
+
2239
+ :param l: Argument.
2240
+ :type l: int64
2241
+ :rtype: float32
2242
+ """
2243
+
2244
+
2245
+ def llabs(x):
2246
+ """
2247
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_llabs.html
2248
+
2249
+ :param x: Argument.
2250
+ :type x: int64
2251
+ :rtype: int64
2252
+ """
2253
+
2254
+
2255
+ def llmax(x, y):
2256
+ """
2257
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_llmax.html
2258
+
2259
+ :param x: Argument.
2260
+ :type x: int64
2261
+ :param y: Argument.
2262
+ :type y: int64
2263
+ :rtype: int64
2264
+ """
2265
+
2266
+
2267
+ def llmin(x, y):
2268
+ """
2269
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_llmin.html
2270
+
2271
+ :param x: Argument.
2272
+ :type x: int64
2273
+ :param y: Argument.
2274
+ :type y: int64
2275
+ :rtype: int64
2276
+ """
2277
+
2278
+
2279
+ def llrint(x):
2280
+ """
2281
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_llrint.html
2282
+
2283
+ :param x: Argument.
2284
+ :type x: float64
2285
+ :rtype: int64
2286
+ """
2287
+
2288
+
2289
+ def llrintf(x):
2290
+ """
2291
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_llrintf.html
2292
+
2293
+ :param x: Argument.
2294
+ :type x: float32
2295
+ :rtype: int64
2296
+ """
2297
+
2298
+
2299
+ def llround(x):
2300
+ """
2301
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_llround.html
2302
+
2303
+ :param x: Argument.
2304
+ :type x: float64
2305
+ :rtype: int64
2306
+ """
2307
+
2308
+
2309
+ def llroundf(x):
2310
+ """
2311
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_llroundf.html
2312
+
2313
+ :param x: Argument.
2314
+ :type x: float32
2315
+ :rtype: int64
2316
+ """
2317
+
2318
+
2319
+ def log(x):
2320
+ """
2321
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_log.html
2322
+
2323
+ :param x: Argument.
2324
+ :type x: float64
2325
+ :rtype: float64
2326
+ """
2327
+
2328
+
2329
+ def log10(x):
2330
+ """
2331
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_log10.html
2332
+
2333
+ :param x: Argument.
2334
+ :type x: float64
2335
+ :rtype: float64
2336
+ """
2337
+
2338
+
2339
+ def log10f(x):
2340
+ """
2341
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_log10f.html
2342
+
2343
+ :param x: Argument.
2344
+ :type x: float32
2345
+ :rtype: float32
2346
+ """
2347
+
2348
+
2349
+ def log1p(x):
2350
+ """
2351
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_log1p.html
2352
+
2353
+ :param x: Argument.
2354
+ :type x: float64
2355
+ :rtype: float64
2356
+ """
2357
+
2358
+
2359
+ def log1pf(x):
2360
+ """
2361
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_log1pf.html
2362
+
2363
+ :param x: Argument.
2364
+ :type x: float32
2365
+ :rtype: float32
2366
+ """
2367
+
2368
+
2369
+ def log2(x):
2370
+ """
2371
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_log2.html
2372
+
2373
+ :param x: Argument.
2374
+ :type x: float64
2375
+ :rtype: float64
2376
+ """
2377
+
2378
+
2379
+ def log2f(x):
2380
+ """
2381
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_log2f.html
2382
+
2383
+ :param x: Argument.
2384
+ :type x: float32
2385
+ :rtype: float32
2386
+ """
2387
+
2388
+
2389
+ def logb(x):
2390
+ """
2391
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_logb.html
2392
+
2393
+ :param x: Argument.
2394
+ :type x: float64
2395
+ :rtype: float64
2396
+ """
2397
+
2398
+
2399
+ def logbf(x):
2400
+ """
2401
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_logbf.html
2402
+
2403
+ :param x: Argument.
2404
+ :type x: float32
2405
+ :rtype: float32
2406
+ """
2407
+
2408
+
2409
+ def logf(x):
2410
+ """
2411
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_logf.html
2412
+
2413
+ :param x: Argument.
2414
+ :type x: float32
2415
+ :rtype: float32
2416
+ """
2417
+
2418
+
2419
+ def longlong_as_double(x):
2420
+ """
2421
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_longlong_as_double.html
2422
+
2423
+ :param x: Argument.
2424
+ :type x: int64
2425
+ :rtype: float64
2426
+ """
2427
+
2428
+
2429
+ def max(x, y):
2430
+ """
2431
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_max.html
2432
+
2433
+ :param x: Argument.
2434
+ :type x: int32
2435
+ :param y: Argument.
2436
+ :type y: int32
2437
+ :rtype: int32
2438
+ """
2439
+
2440
+
2441
+ def min(x, y):
2442
+ """
2443
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_min.html
2444
+
2445
+ :param x: Argument.
2446
+ :type x: int32
2447
+ :param y: Argument.
2448
+ :type y: int32
2449
+ :rtype: int32
2450
+ """
2451
+
2452
+
2453
+ def modf(x):
2454
+ """
2455
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_modf.html
2456
+
2457
+ :param x: Argument.
2458
+ :type x: float64
2459
+ :rtype: UniTuple(float64 x 2)
2460
+ """
2461
+
2462
+
2463
+ def modff(x):
2464
+ """
2465
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_modff.html
2466
+
2467
+ :param x: Argument.
2468
+ :type x: float32
2469
+ :rtype: UniTuple(float32 x 2)
2470
+ """
2471
+
2472
+
2473
+ def mul24(x, y):
2474
+ """
2475
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_mul24.html
2476
+
2477
+ :param x: Argument.
2478
+ :type x: int32
2479
+ :param y: Argument.
2480
+ :type y: int32
2481
+ :rtype: int32
2482
+ """
2483
+
2484
+
2485
+ def mul64hi(x, y):
2486
+ """
2487
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_mul64hi.html
2488
+
2489
+ :param x: Argument.
2490
+ :type x: int64
2491
+ :param y: Argument.
2492
+ :type y: int64
2493
+ :rtype: int64
2494
+ """
2495
+
2496
+
2497
+ def mulhi(x, y):
2498
+ """
2499
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_mulhi.html
2500
+
2501
+ :param x: Argument.
2502
+ :type x: int32
2503
+ :param y: Argument.
2504
+ :type y: int32
2505
+ :rtype: int32
2506
+ """
2507
+
2508
+
2509
+ def nearbyint(x):
2510
+ """
2511
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_nearbyint.html
2512
+
2513
+ :param x: Argument.
2514
+ :type x: float64
2515
+ :rtype: float64
2516
+ """
2517
+
2518
+
2519
+ def nearbyintf(x):
2520
+ """
2521
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_nearbyintf.html
2522
+
2523
+ :param x: Argument.
2524
+ :type x: float32
2525
+ :rtype: float32
2526
+ """
2527
+
2528
+
2529
+ def nextafter(x, y):
2530
+ """
2531
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_nextafter.html
2532
+
2533
+ :param x: Argument.
2534
+ :type x: float64
2535
+ :param y: Argument.
2536
+ :type y: float64
2537
+ :rtype: float64
2538
+ """
2539
+
2540
+
2541
+ def nextafterf(x, y):
2542
+ """
2543
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_nextafterf.html
2544
+
2545
+ :param x: Argument.
2546
+ :type x: float32
2547
+ :param y: Argument.
2548
+ :type y: float32
2549
+ :rtype: float32
2550
+ """
2551
+
2552
+
2553
+ def normcdf(x):
2554
+ """
2555
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_normcdf.html
2556
+
2557
+ :param x: Argument.
2558
+ :type x: float64
2559
+ :rtype: float64
2560
+ """
2561
+
2562
+
2563
+ def normcdff(x):
2564
+ """
2565
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_normcdff.html
2566
+
2567
+ :param x: Argument.
2568
+ :type x: float32
2569
+ :rtype: float32
2570
+ """
2571
+
2572
+
2573
+ def normcdfinv(x):
2574
+ """
2575
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_normcdfinv.html
2576
+
2577
+ :param x: Argument.
2578
+ :type x: float64
2579
+ :rtype: float64
2580
+ """
2581
+
2582
+
2583
+ def normcdfinvf(x):
2584
+ """
2585
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_normcdfinvf.html
2586
+
2587
+ :param x: Argument.
2588
+ :type x: float32
2589
+ :rtype: float32
2590
+ """
2591
+
2592
+
2593
+ def popc(x):
2594
+ """
2595
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_popc.html
2596
+
2597
+ :param x: Argument.
2598
+ :type x: int32
2599
+ :rtype: int32
2600
+ """
2601
+
2602
+
2603
+ def popcll(x):
2604
+ """
2605
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_popcll.html
2606
+
2607
+ :param x: Argument.
2608
+ :type x: int64
2609
+ :rtype: int32
2610
+ """
2611
+
2612
+
2613
+ def pow(x, y):
2614
+ """
2615
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_pow.html
2616
+
2617
+ :param x: Argument.
2618
+ :type x: float64
2619
+ :param y: Argument.
2620
+ :type y: float64
2621
+ :rtype: float64
2622
+ """
2623
+
2624
+
2625
+ def powf(x, y):
2626
+ """
2627
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_powf.html
2628
+
2629
+ :param x: Argument.
2630
+ :type x: float32
2631
+ :param y: Argument.
2632
+ :type y: float32
2633
+ :rtype: float32
2634
+ """
2635
+
2636
+
2637
+ def powi(x, y):
2638
+ """
2639
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_powi.html
2640
+
2641
+ :param x: Argument.
2642
+ :type x: float64
2643
+ :param y: Argument.
2644
+ :type y: int32
2645
+ :rtype: float64
2646
+ """
2647
+
2648
+
2649
+ def powif(x, y):
2650
+ """
2651
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_powif.html
2652
+
2653
+ :param x: Argument.
2654
+ :type x: float32
2655
+ :param y: Argument.
2656
+ :type y: int32
2657
+ :rtype: float32
2658
+ """
2659
+
2660
+
2661
+ def rcbrt(x):
2662
+ """
2663
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_rcbrt.html
2664
+
2665
+ :param x: Argument.
2666
+ :type x: float64
2667
+ :rtype: float64
2668
+ """
2669
+
2670
+
2671
+ def rcbrtf(x):
2672
+ """
2673
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_rcbrtf.html
2674
+
2675
+ :param x: Argument.
2676
+ :type x: float32
2677
+ :rtype: float32
2678
+ """
2679
+
2680
+
2681
+ def remainder(x, y):
2682
+ """
2683
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_remainder.html
2684
+
2685
+ :param x: Argument.
2686
+ :type x: float64
2687
+ :param y: Argument.
2688
+ :type y: float64
2689
+ :rtype: float64
2690
+ """
2691
+
2692
+
2693
+ def remainderf(x, y):
2694
+ """
2695
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_remainderf.html
2696
+
2697
+ :param x: Argument.
2698
+ :type x: float32
2699
+ :param y: Argument.
2700
+ :type y: float32
2701
+ :rtype: float32
2702
+ """
2703
+
2704
+
2705
+ def remquo(x, y):
2706
+ """
2707
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_remquo.html
2708
+
2709
+ :param x: Argument.
2710
+ :type x: float64
2711
+ :param y: Argument.
2712
+ :type y: float64
2713
+ :rtype: Tuple(float64, int32)
2714
+ """
2715
+
2716
+
2717
+ def remquof(x, y):
2718
+ """
2719
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_remquof.html
2720
+
2721
+ :param x: Argument.
2722
+ :type x: float32
2723
+ :param y: Argument.
2724
+ :type y: float32
2725
+ :rtype: Tuple(float32, int32)
2726
+ """
2727
+
2728
+
2729
+ def rhadd(x, y):
2730
+ """
2731
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_rhadd.html
2732
+
2733
+ :param x: Argument.
2734
+ :type x: int32
2735
+ :param y: Argument.
2736
+ :type y: int32
2737
+ :rtype: int32
2738
+ """
2739
+
2740
+
2741
+ def rint(x):
2742
+ """
2743
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_rint.html
2744
+
2745
+ :param x: Argument.
2746
+ :type x: float64
2747
+ :rtype: float64
2748
+ """
2749
+
2750
+
2751
+ def rintf(x):
2752
+ """
2753
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_rintf.html
2754
+
2755
+ :param x: Argument.
2756
+ :type x: float32
2757
+ :rtype: float32
2758
+ """
2759
+
2760
+
2761
+ def round(x):
2762
+ """
2763
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_round.html
2764
+
2765
+ :param x: Argument.
2766
+ :type x: float64
2767
+ :rtype: float64
2768
+ """
2769
+
2770
+
2771
+ def roundf(x):
2772
+ """
2773
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_roundf.html
2774
+
2775
+ :param x: Argument.
2776
+ :type x: float32
2777
+ :rtype: float32
2778
+ """
2779
+
2780
+
2781
+ def rsqrt(x):
2782
+ """
2783
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_rsqrt.html
2784
+
2785
+ :param x: Argument.
2786
+ :type x: float64
2787
+ :rtype: float64
2788
+ """
2789
+
2790
+
2791
+ def rsqrtf(x):
2792
+ """
2793
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_rsqrtf.html
2794
+
2795
+ :param x: Argument.
2796
+ :type x: float32
2797
+ :rtype: float32
2798
+ """
2799
+
2800
+
2801
+ def sad(x, y, z):
2802
+ """
2803
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sad.html
2804
+
2805
+ :param x: Argument.
2806
+ :type x: int32
2807
+ :param y: Argument.
2808
+ :type y: int32
2809
+ :param z: Argument.
2810
+ :type z: int32
2811
+ :rtype: int32
2812
+ """
2813
+
2814
+
2815
+ def saturatef(x):
2816
+ """
2817
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_saturatef.html
2818
+
2819
+ :param x: Argument.
2820
+ :type x: float32
2821
+ :rtype: float32
2822
+ """
2823
+
2824
+
2825
+ def scalbn(x, y):
2826
+ """
2827
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_scalbn.html
2828
+
2829
+ :param x: Argument.
2830
+ :type x: float64
2831
+ :param y: Argument.
2832
+ :type y: int32
2833
+ :rtype: float64
2834
+ """
2835
+
2836
+
2837
+ def scalbnf(x, y):
2838
+ """
2839
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_scalbnf.html
2840
+
2841
+ :param x: Argument.
2842
+ :type x: float32
2843
+ :param y: Argument.
2844
+ :type y: int32
2845
+ :rtype: float32
2846
+ """
2847
+
2848
+
2849
+ def signbitd(x):
2850
+ """
2851
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_signbitd.html
2852
+
2853
+ :param x: Argument.
2854
+ :type x: float64
2855
+ :rtype: int32
2856
+ """
2857
+
2858
+
2859
+ def signbitf(x):
2860
+ """
2861
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_signbitf.html
2862
+
2863
+ :param x: Argument.
2864
+ :type x: float32
2865
+ :rtype: int32
2866
+ """
2867
+
2868
+
2869
+ def sin(x):
2870
+ """
2871
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sin.html
2872
+
2873
+ :param x: Argument.
2874
+ :type x: float64
2875
+ :rtype: float64
2876
+ """
2877
+
2878
+
2879
+ def sincos(x):
2880
+ """
2881
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sincos.html
2882
+
2883
+ :param x: Argument.
2884
+ :type x: float64
2885
+ :rtype: UniTuple(float64 x 2)
2886
+ """
2887
+
2888
+
2889
+ def sincosf(x):
2890
+ """
2891
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sincosf.html
2892
+
2893
+ :param x: Argument.
2894
+ :type x: float32
2895
+ :rtype: UniTuple(float32 x 2)
2896
+ """
2897
+
2898
+
2899
+ def sincospi(x):
2900
+ """
2901
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sincospi.html
2902
+
2903
+ :param x: Argument.
2904
+ :type x: float64
2905
+ :rtype: UniTuple(float64 x 2)
2906
+ """
2907
+
2908
+
2909
+ def sincospif(x):
2910
+ """
2911
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sincospif.html
2912
+
2913
+ :param x: Argument.
2914
+ :type x: float32
2915
+ :rtype: UniTuple(float32 x 2)
2916
+ """
2917
+
2918
+
2919
+ def sinf(x):
2920
+ """
2921
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sinf.html
2922
+
2923
+ :param x: Argument.
2924
+ :type x: float32
2925
+ :rtype: float32
2926
+ """
2927
+
2928
+
2929
+ def sinh(x):
2930
+ """
2931
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sinh.html
2932
+
2933
+ :param x: Argument.
2934
+ :type x: float64
2935
+ :rtype: float64
2936
+ """
2937
+
2938
+
2939
+ def sinhf(x):
2940
+ """
2941
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sinhf.html
2942
+
2943
+ :param x: Argument.
2944
+ :type x: float32
2945
+ :rtype: float32
2946
+ """
2947
+
2948
+
2949
+ def sinpi(x):
2950
+ """
2951
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sinpi.html
2952
+
2953
+ :param x: Argument.
2954
+ :type x: float64
2955
+ :rtype: float64
2956
+ """
2957
+
2958
+
2959
+ def sinpif(x):
2960
+ """
2961
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sinpif.html
2962
+
2963
+ :param x: Argument.
2964
+ :type x: float32
2965
+ :rtype: float32
2966
+ """
2967
+
2968
+
2969
+ def sqrt(x):
2970
+ """
2971
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sqrt.html
2972
+
2973
+ :param x: Argument.
2974
+ :type x: float64
2975
+ :rtype: float64
2976
+ """
2977
+
2978
+
2979
+ def sqrtf(x):
2980
+ """
2981
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_sqrtf.html
2982
+
2983
+ :param x: Argument.
2984
+ :type x: float32
2985
+ :rtype: float32
2986
+ """
2987
+
2988
+
2989
+ def tan(x):
2990
+ """
2991
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_tan.html
2992
+
2993
+ :param x: Argument.
2994
+ :type x: float64
2995
+ :rtype: float64
2996
+ """
2997
+
2998
+
2999
+ def tanf(x):
3000
+ """
3001
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_tanf.html
3002
+
3003
+ :param x: Argument.
3004
+ :type x: float32
3005
+ :rtype: float32
3006
+ """
3007
+
3008
+
3009
+ def tanh(x):
3010
+ """
3011
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_tanh.html
3012
+
3013
+ :param x: Argument.
3014
+ :type x: float64
3015
+ :rtype: float64
3016
+ """
3017
+
3018
+
3019
+ def tanhf(x):
3020
+ """
3021
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_tanhf.html
3022
+
3023
+ :param x: Argument.
3024
+ :type x: float32
3025
+ :rtype: float32
3026
+ """
3027
+
3028
+
3029
+ def tgamma(x):
3030
+ """
3031
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_tgamma.html
3032
+
3033
+ :param x: Argument.
3034
+ :type x: float64
3035
+ :rtype: float64
3036
+ """
3037
+
3038
+
3039
+ def tgammaf(x):
3040
+ """
3041
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_tgammaf.html
3042
+
3043
+ :param x: Argument.
3044
+ :type x: float32
3045
+ :rtype: float32
3046
+ """
3047
+
3048
+
3049
+ def trunc(x):
3050
+ """
3051
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_trunc.html
3052
+
3053
+ :param x: Argument.
3054
+ :type x: float64
3055
+ :rtype: float64
3056
+ """
3057
+
3058
+
3059
+ def truncf(x):
3060
+ """
3061
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_truncf.html
3062
+
3063
+ :param x: Argument.
3064
+ :type x: float32
3065
+ :rtype: float32
3066
+ """
3067
+
3068
+
3069
+ def uhadd(x, y):
3070
+ """
3071
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_uhadd.html
3072
+
3073
+ :param x: Argument.
3074
+ :type x: int32
3075
+ :param y: Argument.
3076
+ :type y: int32
3077
+ :rtype: int32
3078
+ """
3079
+
3080
+
3081
+ def uint2double_rn(i):
3082
+ """
3083
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_uint2double_rn.html
3084
+
3085
+ :param i: Argument.
3086
+ :type i: int32
3087
+ :rtype: float64
3088
+ """
3089
+
3090
+
3091
+ def uint2float_rd(x):
3092
+ """
3093
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_uint2float_rd.html
3094
+
3095
+ :param in: Argument.
3096
+ :type in: int32
3097
+ :rtype: float32
3098
+ """
3099
+
3100
+
3101
+ def uint2float_rn(x):
3102
+ """
3103
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_uint2float_rn.html
3104
+
3105
+ :param in: Argument.
3106
+ :type in: int32
3107
+ :rtype: float32
3108
+ """
3109
+
3110
+
3111
+ def uint2float_ru(x):
3112
+ """
3113
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_uint2float_ru.html
3114
+
3115
+ :param in: Argument.
3116
+ :type in: int32
3117
+ :rtype: float32
3118
+ """
3119
+
3120
+
3121
+ def uint2float_rz(x):
3122
+ """
3123
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_uint2float_rz.html
3124
+
3125
+ :param in: Argument.
3126
+ :type in: int32
3127
+ :rtype: float32
3128
+ """
3129
+
3130
+
3131
+ def ull2double_rd(l):
3132
+ """
3133
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2double_rd.html
3134
+
3135
+ :param l: Argument.
3136
+ :type l: int64
3137
+ :rtype: float64
3138
+ """
3139
+
3140
+
3141
+ def ull2double_rn(l):
3142
+ """
3143
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2double_rn.html
3144
+
3145
+ :param l: Argument.
3146
+ :type l: int64
3147
+ :rtype: float64
3148
+ """
3149
+
3150
+
3151
+ def ull2double_ru(l):
3152
+ """
3153
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2double_ru.html
3154
+
3155
+ :param l: Argument.
3156
+ :type l: int64
3157
+ :rtype: float64
3158
+ """
3159
+
3160
+
3161
+ def ull2double_rz(l):
3162
+ """
3163
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2double_rz.html
3164
+
3165
+ :param l: Argument.
3166
+ :type l: int64
3167
+ :rtype: float64
3168
+ """
3169
+
3170
+
3171
+ def ull2float_rd(l):
3172
+ """
3173
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2float_rd.html
3174
+
3175
+ :param l: Argument.
3176
+ :type l: int64
3177
+ :rtype: float32
3178
+ """
3179
+
3180
+
3181
+ def ull2float_rn(l):
3182
+ """
3183
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2float_rn.html
3184
+
3185
+ :param l: Argument.
3186
+ :type l: int64
3187
+ :rtype: float32
3188
+ """
3189
+
3190
+
3191
+ def ull2float_ru(l):
3192
+ """
3193
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2float_ru.html
3194
+
3195
+ :param l: Argument.
3196
+ :type l: int64
3197
+ :rtype: float32
3198
+ """
3199
+
3200
+
3201
+ def ull2float_rz(l):
3202
+ """
3203
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ull2float_rz.html
3204
+
3205
+ :param l: Argument.
3206
+ :type l: int64
3207
+ :rtype: float32
3208
+ """
3209
+
3210
+
3211
+ def ullmax(x, y):
3212
+ """
3213
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ullmax.html
3214
+
3215
+ :param x: Argument.
3216
+ :type x: int64
3217
+ :param y: Argument.
3218
+ :type y: int64
3219
+ :rtype: int64
3220
+ """
3221
+
3222
+
3223
+ def ullmin(x, y):
3224
+ """
3225
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ullmin.html
3226
+
3227
+ :param x: Argument.
3228
+ :type x: int64
3229
+ :param y: Argument.
3230
+ :type y: int64
3231
+ :rtype: int64
3232
+ """
3233
+
3234
+
3235
+ def umax(x, y):
3236
+ """
3237
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_umax.html
3238
+
3239
+ :param x: Argument.
3240
+ :type x: int32
3241
+ :param y: Argument.
3242
+ :type y: int32
3243
+ :rtype: int32
3244
+ """
3245
+
3246
+
3247
+ def umin(x, y):
3248
+ """
3249
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_umin.html
3250
+
3251
+ :param x: Argument.
3252
+ :type x: int32
3253
+ :param y: Argument.
3254
+ :type y: int32
3255
+ :rtype: int32
3256
+ """
3257
+
3258
+
3259
+ def umul24(x, y):
3260
+ """
3261
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_umul24.html
3262
+
3263
+ :param x: Argument.
3264
+ :type x: int32
3265
+ :param y: Argument.
3266
+ :type y: int32
3267
+ :rtype: int32
3268
+ """
3269
+
3270
+
3271
+ def umul64hi(x, y):
3272
+ """
3273
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_umul64hi.html
3274
+
3275
+ :param x: Argument.
3276
+ :type x: int64
3277
+ :param y: Argument.
3278
+ :type y: int64
3279
+ :rtype: int64
3280
+ """
3281
+
3282
+
3283
+ def umulhi(x, y):
3284
+ """
3285
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_umulhi.html
3286
+
3287
+ :param x: Argument.
3288
+ :type x: int32
3289
+ :param y: Argument.
3290
+ :type y: int32
3291
+ :rtype: int32
3292
+ """
3293
+
3294
+
3295
+ def urhadd(x, y):
3296
+ """
3297
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_urhadd.html
3298
+
3299
+ :param x: Argument.
3300
+ :type x: int32
3301
+ :param y: Argument.
3302
+ :type y: int32
3303
+ :rtype: int32
3304
+ """
3305
+
3306
+
3307
+ def usad(x, y, z):
3308
+ """
3309
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_usad.html
3310
+
3311
+ :param x: Argument.
3312
+ :type x: int32
3313
+ :param y: Argument.
3314
+ :type y: int32
3315
+ :param z: Argument.
3316
+ :type z: int32
3317
+ :rtype: int32
3318
+ """
3319
+
3320
+
3321
+ def y0(x):
3322
+ """
3323
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_y0.html
3324
+
3325
+ :param x: Argument.
3326
+ :type x: float64
3327
+ :rtype: float64
3328
+ """
3329
+
3330
+
3331
+ def y0f(x):
3332
+ """
3333
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_y0f.html
3334
+
3335
+ :param x: Argument.
3336
+ :type x: float32
3337
+ :rtype: float32
3338
+ """
3339
+
3340
+
3341
+ def y1(x):
3342
+ """
3343
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_y1.html
3344
+
3345
+ :param x: Argument.
3346
+ :type x: float64
3347
+ :rtype: float64
3348
+ """
3349
+
3350
+
3351
+ def y1f(x):
3352
+ """
3353
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_y1f.html
3354
+
3355
+ :param x: Argument.
3356
+ :type x: float32
3357
+ :rtype: float32
3358
+ """
3359
+
3360
+
3361
+ def yn(n, x):
3362
+ """
3363
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_yn.html
3364
+
3365
+ :param n: Argument.
3366
+ :type n: int32
3367
+ :param x: Argument.
3368
+ :type x: float64
3369
+ :rtype: float64
3370
+ """
3371
+
3372
+
3373
+ def ynf(n, x):
3374
+ """
3375
+ See https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_ynf.html
3376
+
3377
+ :param n: Argument.
3378
+ :type n: int32
3379
+ :param x: Argument.
3380
+ :type x: float32
3381
+ :rtype: float32
3382
+ """