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