nvmath-python 1.0.0__cp314-cp314t-win_amd64.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 (332) hide show
  1. nvmath/__init__.pxd +0 -0
  2. nvmath/__init__.py +45 -0
  3. nvmath/_internal/__init__.py +0 -0
  4. nvmath/_internal/attribute_ifc_factory.py +330 -0
  5. nvmath/_internal/layout.py +70 -0
  6. nvmath/_internal/templates.py +130 -0
  7. nvmath/_internal/threadsafe.py +106 -0
  8. nvmath/_internal/utils.py +43 -0
  9. nvmath/_internal/workspace.py +490 -0
  10. nvmath/_utils.py +147 -0
  11. nvmath/bindings/__init__.py +60 -0
  12. nvmath/bindings/_internal/__init__.pxd +0 -0
  13. nvmath/bindings/_internal/__init__.py +0 -0
  14. nvmath/bindings/_internal/common_types.pxd +31 -0
  15. nvmath/bindings/_internal/cublas.cp314t-win_amd64.pyd +0 -0
  16. nvmath/bindings/_internal/cublas.pxd +530 -0
  17. nvmath/bindings/_internal/cublasLt.cp314t-win_amd64.pyd +0 -0
  18. nvmath/bindings/_internal/cublasLt.pxd +59 -0
  19. nvmath/bindings/_internal/cublasMp.pxd +52 -0
  20. nvmath/bindings/_internal/cudss.cp314t-win_amd64.pyd +0 -0
  21. nvmath/bindings/_internal/cudss.pxd +54 -0
  22. nvmath/bindings/_internal/cufft.cp314t-win_amd64.pyd +0 -0
  23. nvmath/bindings/_internal/cufft.pxd +70 -0
  24. nvmath/bindings/_internal/cufftMp.pxd +77 -0
  25. nvmath/bindings/_internal/curand.cp314t-win_amd64.pyd +0 -0
  26. nvmath/bindings/_internal/curand.pxd +42 -0
  27. nvmath/bindings/_internal/cusolver.cp314t-win_amd64.pyd +0 -0
  28. nvmath/bindings/_internal/cusolver.pxd +15 -0
  29. nvmath/bindings/_internal/cusolverDn.cp314t-win_amd64.pyd +0 -0
  30. nvmath/bindings/_internal/cusolverDn.pxd +406 -0
  31. nvmath/bindings/_internal/cusolverMp.pxd +71 -0
  32. nvmath/bindings/_internal/cusolverSp.cp314t-win_amd64.pyd +0 -0
  33. nvmath/bindings/_internal/cusolverSp.pxd +75 -0
  34. nvmath/bindings/_internal/cusparse.cp314t-win_amd64.pyd +0 -0
  35. nvmath/bindings/_internal/cusparse.pxd +471 -0
  36. nvmath/bindings/_internal/cusparseLt.cp314t-win_amd64.pyd +0 -0
  37. nvmath/bindings/_internal/cusparseLt.pxd +48 -0
  38. nvmath/bindings/_internal/cutensor.cp314t-win_amd64.pyd +0 -0
  39. nvmath/bindings/_internal/cutensor.pxd +58 -0
  40. nvmath/bindings/_internal/mathdx.cp314t-win_amd64.pyd +0 -0
  41. nvmath/bindings/_internal/mathdx.pxd +116 -0
  42. nvmath/bindings/_internal/nvshmem.pxd +29 -0
  43. nvmath/bindings/_internal/utils.cp314t-win_amd64.pyd +0 -0
  44. nvmath/bindings/_internal/utils.pxd +174 -0
  45. nvmath/bindings/_internal/utils.pyi +10 -0
  46. nvmath/bindings/cublas.cp314t-win_amd64.pyd +0 -0
  47. nvmath/bindings/cublas.pxd +558 -0
  48. nvmath/bindings/cublas.pyi +812 -0
  49. nvmath/bindings/cublasLt.cp314t-win_amd64.pyd +0 -0
  50. nvmath/bindings/cublasLt.pxd +109 -0
  51. nvmath/bindings/cublasLt.pyi +1461 -0
  52. nvmath/bindings/cublasMp.pxd +85 -0
  53. nvmath/bindings/cublasMp.pyi +267 -0
  54. nvmath/bindings/cudss.cp314t-win_amd64.pyd +0 -0
  55. nvmath/bindings/cudss.pxd +98 -0
  56. nvmath/bindings/cudss.pyi +443 -0
  57. nvmath/bindings/cufft.cp314t-win_amd64.pyd +0 -0
  58. nvmath/bindings/cufft.pxd +118 -0
  59. nvmath/bindings/cufft.pyi +301 -0
  60. nvmath/bindings/cufftMp.pxd +124 -0
  61. nvmath/bindings/cufftMp.pyi +326 -0
  62. nvmath/bindings/curand.cp314t-win_amd64.pyd +0 -0
  63. nvmath/bindings/curand.pxd +71 -0
  64. nvmath/bindings/curand.pyi +189 -0
  65. nvmath/bindings/cusolver.cp314t-win_amd64.pyd +0 -0
  66. nvmath/bindings/cusolver.pxd +62 -0
  67. nvmath/bindings/cusolver.pyi +320 -0
  68. nvmath/bindings/cusolverDn.cp314t-win_amd64.pyd +0 -0
  69. nvmath/bindings/cusolverDn.pxd +430 -0
  70. nvmath/bindings/cusolverDn.pyi +422 -0
  71. nvmath/bindings/cusolverMp.pxd +98 -0
  72. nvmath/bindings/cusolverMp.pyi +114 -0
  73. nvmath/bindings/cusolverSp.cp314t-win_amd64.pyd +0 -0
  74. nvmath/bindings/cusolverSp.pxd +95 -0
  75. nvmath/bindings/cusolverSp.pyi +70 -0
  76. nvmath/bindings/cusparse.cp314t-win_amd64.pyd +0 -0
  77. nvmath/bindings/cusparse.pxd +546 -0
  78. nvmath/bindings/cusparse.pyi +1017 -0
  79. nvmath/bindings/cusparseLt.cp314t-win_amd64.pyd +0 -0
  80. nvmath/bindings/cusparseLt.pxd +99 -0
  81. nvmath/bindings/cusparseLt.pyi +252 -0
  82. nvmath/bindings/cutensor.cp314t-win_amd64.pyd +0 -0
  83. nvmath/bindings/cutensor.pxd +98 -0
  84. nvmath/bindings/cutensor.pyi +324 -0
  85. nvmath/bindings/cycublas.cp314t-win_amd64.pyd +0 -0
  86. nvmath/bindings/cycublas.pxd +664 -0
  87. nvmath/bindings/cycublasLt.cp314t-win_amd64.pyd +0 -0
  88. nvmath/bindings/cycublasLt.pxd +1045 -0
  89. nvmath/bindings/cycublasMp.pxd +171 -0
  90. nvmath/bindings/cycudss.cp314t-win_amd64.pyd +0 -0
  91. nvmath/bindings/cycudss.pxd +277 -0
  92. nvmath/bindings/cycufft.cp314t-win_amd64.pyd +0 -0
  93. nvmath/bindings/cycufft.pxd +333 -0
  94. nvmath/bindings/cycufftMp.pxd +342 -0
  95. nvmath/bindings/cycurand.cp314t-win_amd64.pyd +0 -0
  96. nvmath/bindings/cycurand.pxd +141 -0
  97. nvmath/bindings/cycusolver.cp314t-win_amd64.pyd +0 -0
  98. nvmath/bindings/cycusolver.pxd +137 -0
  99. nvmath/bindings/cycusolverDn.cp314t-win_amd64.pyd +0 -0
  100. nvmath/bindings/cycusolverDn.pxd +443 -0
  101. nvmath/bindings/cycusolverMp.pxd +107 -0
  102. nvmath/bindings/cycusolverSp.cp314t-win_amd64.pyd +0 -0
  103. nvmath/bindings/cycusolverSp.pxd +93 -0
  104. nvmath/bindings/cycusparse.cp314t-win_amd64.pyd +0 -0
  105. nvmath/bindings/cycusparse.pxd +679 -0
  106. nvmath/bindings/cycusparseLt.cp314t-win_amd64.pyd +0 -0
  107. nvmath/bindings/cycusparseLt.pxd +135 -0
  108. nvmath/bindings/cycutensor.cp314t-win_amd64.pyd +0 -0
  109. nvmath/bindings/cycutensor.pxd +189 -0
  110. nvmath/bindings/cymathdx.cp314t-win_amd64.pyd +0 -0
  111. nvmath/bindings/cymathdx.pxd +552 -0
  112. nvmath/bindings/cynvshmem.pxd +118 -0
  113. nvmath/bindings/mathdx.cp314t-win_amd64.pyd +0 -0
  114. nvmath/bindings/mathdx.pxd +182 -0
  115. nvmath/bindings/mathdx.pyi +1562 -0
  116. nvmath/bindings/nvpl/__init__.pxd +0 -0
  117. nvmath/bindings/nvpl/__init__.py +13 -0
  118. nvmath/bindings/nvpl/_internal/__init__.pxd +0 -0
  119. nvmath/bindings/nvpl/_internal/__init__.py +0 -0
  120. nvmath/bindings/nvpl/_internal/blas.cp314t-win_amd64.pyd +0 -0
  121. nvmath/bindings/nvpl/_internal/blas.pxd +237 -0
  122. nvmath/bindings/nvpl/_internal/fft.cp314t-win_amd64.pyd +0 -0
  123. nvmath/bindings/nvpl/_internal/fft.pxd +36 -0
  124. nvmath/bindings/nvpl/blas.cp314t-win_amd64.pyd +0 -0
  125. nvmath/bindings/nvpl/blas.pxd +131 -0
  126. nvmath/bindings/nvpl/blas.pyi +168 -0
  127. nvmath/bindings/nvpl/cyblas.cp314t-win_amd64.pyd +0 -0
  128. nvmath/bindings/nvpl/cyblas.pxd +280 -0
  129. nvmath/bindings/nvpl/cyfft.cp314t-win_amd64.pyd +0 -0
  130. nvmath/bindings/nvpl/cyfft.pxd +93 -0
  131. nvmath/bindings/nvpl/fft.cp314t-win_amd64.pyd +0 -0
  132. nvmath/bindings/nvpl/fft.pxd +100 -0
  133. nvmath/bindings/nvpl/fft.pyi +168 -0
  134. nvmath/bindings/nvshmem.pxd +54 -0
  135. nvmath/bindings/nvshmem.pyi +191 -0
  136. nvmath/device/__init__.py +38 -0
  137. nvmath/device/_deprecated.py +33 -0
  138. nvmath/device/common.py +315 -0
  139. nvmath/device/common_backend.py +131 -0
  140. nvmath/device/common_cuda.py +201 -0
  141. nvmath/device/common_numba.py +300 -0
  142. nvmath/device/common_numba_cuda_mlir.py +202 -0
  143. nvmath/device/common_opaque_tensor.py +201 -0
  144. nvmath/device/cublasdx.py +1606 -0
  145. nvmath/device/cublasdx_backend.py +860 -0
  146. nvmath/device/cublasdx_numba.py +1534 -0
  147. nvmath/device/cublasdx_numba_cuda_mlir.py +208 -0
  148. nvmath/device/cufftdx.py +373 -0
  149. nvmath/device/cufftdx_backend.py +220 -0
  150. nvmath/device/cufftdx_numba.py +140 -0
  151. nvmath/device/cufftdx_numba_cuda_mlir.py +79 -0
  152. nvmath/device/curand_kernel.py +9147 -0
  153. nvmath/device/cusolverdx.py +2708 -0
  154. nvmath/device/cusolverdx_backend.py +440 -0
  155. nvmath/device/cusolverdx_numba.py +567 -0
  156. nvmath/device/cusolverdx_numba_cuda_mlir.py +604 -0
  157. nvmath/device/cusolverdx_overload_backend.py +1029 -0
  158. nvmath/device/llvm_array.py +29 -0
  159. nvmath/device/random.py +441 -0
  160. nvmath/device/random_helpers.py +23 -0
  161. nvmath/device/random_states.py +187 -0
  162. nvmath/device/types.py +138 -0
  163. nvmath/device/vector_types_numba.py +259 -0
  164. nvmath/distributed/__init__.py +200 -0
  165. nvmath/distributed/_internal/__init__.py +0 -0
  166. nvmath/distributed/_internal/nccl.py +86 -0
  167. nvmath/distributed/_internal/nvshmem.py +307 -0
  168. nvmath/distributed/_internal/symmetric_memory.py +35 -0
  169. nvmath/distributed/_internal/tensor_ifc.py +70 -0
  170. nvmath/distributed/_internal/tensor_ifc_cupy.py +68 -0
  171. nvmath/distributed/_internal/tensor_ifc_host_device.py +172 -0
  172. nvmath/distributed/_internal/tensor_ifc_numpy.py +46 -0
  173. nvmath/distributed/_internal/tensor_ifc_torch.py +162 -0
  174. nvmath/distributed/_internal/tensor_wrapper.py +81 -0
  175. nvmath/distributed/_utils.py +167 -0
  176. nvmath/distributed/distribution/__init__.py +30 -0
  177. nvmath/distributed/distribution/_configuration.py +39 -0
  178. nvmath/distributed/distribution/distributions.py +1024 -0
  179. nvmath/distributed/distribution/redistribute.py +1284 -0
  180. nvmath/distributed/fft/__init__.py +7 -0
  181. nvmath/distributed/fft/_configuration.py +82 -0
  182. nvmath/distributed/fft/fft.py +2742 -0
  183. nvmath/distributed/linalg/__init__.py +22 -0
  184. nvmath/distributed/linalg/_internal/__init__.py +3 -0
  185. nvmath/distributed/linalg/_internal/epilog_protocol.py +586 -0
  186. nvmath/distributed/linalg/_internal/matmul_desc_ifc.py +28 -0
  187. nvmath/distributed/linalg/advanced/__init__.py +8 -0
  188. nvmath/distributed/linalg/advanced/_configuration.py +171 -0
  189. nvmath/distributed/linalg/advanced/matmulmod.py +3573 -0
  190. nvmath/distributed/linalg/generic/__init__.py +8 -0
  191. nvmath/distributed/linalg/generic/_caching.py +66 -0
  192. nvmath/distributed/linalg/generic/_configuration.py +61 -0
  193. nvmath/distributed/linalg/generic/_factorization.py +172 -0
  194. nvmath/distributed/linalg/generic/_initialization.py +966 -0
  195. nvmath/distributed/linalg/generic/_problem_spec.py +511 -0
  196. nvmath/distributed/linalg/generic/solvermod.py +1368 -0
  197. nvmath/distributed/process_group.py +408 -0
  198. nvmath/fft/__init__.py +7 -0
  199. nvmath/fft/_configuration.py +189 -0
  200. nvmath/fft/_exec_utils.py +82 -0
  201. nvmath/fft/_helpers.py +237 -0
  202. nvmath/fft/fft.py +3122 -0
  203. nvmath/internal/__init__.pxd +3 -0
  204. nvmath/internal/__init__.py +10 -0
  205. nvmath/internal/_bindings.cp314t-win_amd64.pyd +0 -0
  206. nvmath/internal/_bindings.pxd +18 -0
  207. nvmath/internal/_device_utils.py +45 -0
  208. nvmath/internal/_layout/__init__.pxd +3 -0
  209. nvmath/internal/_layout/__init__.py +7 -0
  210. nvmath/internal/_layout/_layout.cp314t-win_amd64.pyd +0 -0
  211. nvmath/internal/_layout/_layout.pxd +1303 -0
  212. nvmath/internal/_layout/_layout.pyi +1145 -0
  213. nvmath/internal/enum_utils.py +142 -0
  214. nvmath/internal/formatters.py +87 -0
  215. nvmath/internal/mem_limit.py +51 -0
  216. nvmath/internal/memory.cp314t-win_amd64.pyd +0 -0
  217. nvmath/internal/memory.pxd +13 -0
  218. nvmath/internal/memory.pyi +50 -0
  219. nvmath/internal/ndbuffer/__init__.pxd +3 -0
  220. nvmath/internal/ndbuffer/__init__.py +9 -0
  221. nvmath/internal/ndbuffer/_copy_kernel.cp314t-win_amd64.pyd +0 -0
  222. nvmath/internal/ndbuffer/_copy_kernel.pxd +10 -0
  223. nvmath/internal/ndbuffer/_jit.cp314t-win_amd64.pyd +0 -0
  224. nvmath/internal/ndbuffer/_jit.pxd +7 -0
  225. nvmath/internal/ndbuffer/_ndbuffer.cp314t-win_amd64.pyd +0 -0
  226. nvmath/internal/ndbuffer/_ndbuffer.pxd +40 -0
  227. nvmath/internal/ndbuffer/_ndbuffer.pyi +463 -0
  228. nvmath/internal/ndbuffer/copy_kernel/args.h +34 -0
  229. nvmath/internal/ndbuffer/copy_kernel/copy_kernel_impl/array_view.h +52 -0
  230. nvmath/internal/ndbuffer/copy_kernel/copy_kernel_impl/elementwise.h +68 -0
  231. nvmath/internal/ndbuffer/copy_kernel/copy_kernel_impl/grid_indexer.h +69 -0
  232. nvmath/internal/ndbuffer/copy_kernel/copy_kernel_impl/transposed.h +242 -0
  233. nvmath/internal/ndbuffer/copy_kernel/copy_kernel_impl/type_utils.h +39 -0
  234. nvmath/internal/ndbuffer/copy_kernel/copy_kernel_impl/utils.h +132 -0
  235. nvmath/internal/ndbuffer/copy_kernel/copy_kernel_impl/vec.h +159 -0
  236. nvmath/internal/ndbuffer/copy_kernel/elementwise.h +53 -0
  237. nvmath/internal/ndbuffer/copy_kernel/transposed.h +58 -0
  238. nvmath/internal/package_ifc.py +168 -0
  239. nvmath/internal/package_ifc_cuda.py +57 -0
  240. nvmath/internal/package_ifc_cupy.py +67 -0
  241. nvmath/internal/package_ifc_torch.py +69 -0
  242. nvmath/internal/package_wrapper.py +14 -0
  243. nvmath/internal/tensor_ifc.py +179 -0
  244. nvmath/internal/tensor_ifc_cupy.py +234 -0
  245. nvmath/internal/tensor_ifc_ndbuffer.py +147 -0
  246. nvmath/internal/tensor_ifc_numpy.py +184 -0
  247. nvmath/internal/tensor_ifc_torch.py +178 -0
  248. nvmath/internal/tensor_wrapper.py +160 -0
  249. nvmath/internal/typemaps.py +113 -0
  250. nvmath/internal/utils.py +805 -0
  251. nvmath/linalg/__init__.py +56 -0
  252. nvmath/linalg/_internal/__init__.py +3 -0
  253. nvmath/linalg/_internal/algo_cap_ifc.py +82 -0
  254. nvmath/linalg/_internal/algo_config_ifc.py +43 -0
  255. nvmath/linalg/_internal/batch.py +234 -0
  256. nvmath/linalg/_internal/enum_to_tuples.py +64 -0
  257. nvmath/linalg/_internal/epilog_protocol.py +766 -0
  258. nvmath/linalg/_internal/layout.py +624 -0
  259. nvmath/linalg/_internal/matmul_desc_ifc.py +28 -0
  260. nvmath/linalg/_internal/matmul_pref_ifc.py +27 -0
  261. nvmath/linalg/_internal/matrix_layout_ifc.py +26 -0
  262. nvmath/linalg/_internal/solver_utils.py +432 -0
  263. nvmath/linalg/_internal/typemaps.py +144 -0
  264. nvmath/linalg/_internal/utils.py +157 -0
  265. nvmath/linalg/advanced/__init__.py +8 -0
  266. nvmath/linalg/advanced/_algorithmmod.py +170 -0
  267. nvmath/linalg/advanced/_configuration.py +351 -0
  268. nvmath/linalg/advanced/helpers/__init__.py +5 -0
  269. nvmath/linalg/advanced/helpers/matmul.py +1316 -0
  270. nvmath/linalg/advanced/matmulmod.py +3734 -0
  271. nvmath/linalg/generic/__init__.py +53 -0
  272. nvmath/linalg/generic/_configuration/__init__.py +39 -0
  273. nvmath/linalg/generic/_configuration/layout.py +263 -0
  274. nvmath/linalg/generic/_configuration/match.py +734 -0
  275. nvmath/linalg/generic/_configuration/qualifiers.py +493 -0
  276. nvmath/linalg/generic/_configuration/solver_configuration.py +59 -0
  277. nvmath/linalg/generic/_configuration/wrap.py +217 -0
  278. nvmath/linalg/generic/_dtype.py +15 -0
  279. nvmath/linalg/generic/matmulmod.py +2094 -0
  280. nvmath/linalg/generic/solvermod.py +1301 -0
  281. nvmath/memory.py +279 -0
  282. nvmath/sparse/__init__.py +38 -0
  283. nvmath/sparse/_internal/__init__.py +21 -0
  284. nvmath/sparse/_internal/common_utils.py +147 -0
  285. nvmath/sparse/_internal/cudss_config_ifc.py +702 -0
  286. nvmath/sparse/_internal/cudss_data_ifc.py +399 -0
  287. nvmath/sparse/_internal/cudss_utils.py +506 -0
  288. nvmath/sparse/_internal/cusparse_utils.py +382 -0
  289. nvmath/sparse/_internal/sparse_bsc_ifc.py +303 -0
  290. nvmath/sparse/_internal/sparse_bsr_ifc.py +305 -0
  291. nvmath/sparse/_internal/sparse_coo_ifc.py +256 -0
  292. nvmath/sparse/_internal/sparse_csc_ifc.py +268 -0
  293. nvmath/sparse/_internal/sparse_csr_ifc.py +288 -0
  294. nvmath/sparse/_internal/sparse_dia_ifc.py +242 -0
  295. nvmath/sparse/_internal/sparse_format_helpers.py +601 -0
  296. nvmath/sparse/_internal/sparse_tensor_ifc.py +133 -0
  297. nvmath/sparse/_internal/sparse_ust_ifc.py +141 -0
  298. nvmath/sparse/_internal/utils.py +56 -0
  299. nvmath/sparse/advanced/__init__.py +7 -0
  300. nvmath/sparse/advanced/_configuration.py +227 -0
  301. nvmath/sparse/advanced/direct_solver.py +2069 -0
  302. nvmath/sparse/generic/__init__.py +7 -0
  303. nvmath/sparse/generic/_configuration.py +129 -0
  304. nvmath/sparse/generic/_helpers.py +137 -0
  305. nvmath/sparse/generic/_thunks.py +21 -0
  306. nvmath/sparse/generic/matmulmod.py +2353 -0
  307. nvmath/sparse/ust/__init__.py +7 -0
  308. nvmath/sparse/ust/_converters.py +422 -0
  309. nvmath/sparse/ust/_cpp.py +28 -0
  310. nvmath/sparse/ust/_drawer.py +565 -0
  311. nvmath/sparse/ust/_emitter.py +1033 -0
  312. nvmath/sparse/ust/_jit.py +188 -0
  313. nvmath/sparse/ust/_kernel.py +282 -0
  314. nvmath/sparse/ust/_utils.py +149 -0
  315. nvmath/sparse/ust/interfaces/__init__.py +0 -0
  316. nvmath/sparse/ust/interfaces/torch_interface.py +476 -0
  317. nvmath/sparse/ust/tensor.py +1016 -0
  318. nvmath/sparse/ust/tensor_format.py +957 -0
  319. nvmath/tensor/__init__.py +6 -0
  320. nvmath/tensor/_configuration.py +120 -0
  321. nvmath/tensor/_internal/__init__.py +3 -0
  322. nvmath/tensor/_internal/cutensor_config_ifc.py +279 -0
  323. nvmath/tensor/_internal/cutensor_utils.py +230 -0
  324. nvmath/tensor/_internal/data.py +43 -0
  325. nvmath/tensor/_internal/einsum_parser.py +444 -0
  326. nvmath/tensor/_internal/typemaps.py +96 -0
  327. nvmath/tensor/contract.py +1900 -0
  328. nvmath_python-1.0.0.dist-info/METADATA +134 -0
  329. nvmath_python-1.0.0.dist-info/RECORD +332 -0
  330. nvmath_python-1.0.0.dist-info/WHEEL +5 -0
  331. nvmath_python-1.0.0.dist-info/licenses/LICENSE +177 -0
  332. nvmath_python-1.0.0.dist-info/top_level.txt +2 -0
@@ -0,0 +1,443 @@
1
+ # Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ import _cython_3_2_5
6
+ import enum
7
+ from typing import Any, Callable, ClassVar
8
+
9
+ __pyx_capi__: dict
10
+ __test__: dict
11
+ check_status: _cython_3_2_5.cython_function_or_method
12
+ config_create: _cython_3_2_5.cython_function_or_method
13
+ config_destroy: _cython_3_2_5.cython_function_or_method
14
+ config_get: _cython_3_2_5.cython_function_or_method
15
+ config_set: _cython_3_2_5.cython_function_or_method
16
+ create: _cython_3_2_5.cython_function_or_method
17
+ create_mg: _cython_3_2_5.cython_function_or_method
18
+ data_create: _cython_3_2_5.cython_function_or_method
19
+ data_destroy: _cython_3_2_5.cython_function_or_method
20
+ data_get: _cython_3_2_5.cython_function_or_method
21
+ data_set: _cython_3_2_5.cython_function_or_method
22
+ destroy: _cython_3_2_5.cython_function_or_method
23
+ execute: _cython_3_2_5.cython_function_or_method
24
+ get_config_param_dtype: _cython_3_2_5.cython_function_or_method
25
+ get_data_param_dtype: _cython_3_2_5.cython_function_or_method
26
+ get_device_mem_handler: _cython_3_2_5.cython_function_or_method
27
+ get_property: _cython_3_2_5.cython_function_or_method
28
+ logger_force_disable: _cython_3_2_5.cython_function_or_method
29
+ logger_open_file: _cython_3_2_5.cython_function_or_method
30
+ logger_set_level: _cython_3_2_5.cython_function_or_method
31
+ logger_set_mask: _cython_3_2_5.cython_function_or_method
32
+ matrix_create_batch_csr: _cython_3_2_5.cython_function_or_method
33
+ matrix_create_batch_dn: _cython_3_2_5.cython_function_or_method
34
+ matrix_create_csr: _cython_3_2_5.cython_function_or_method
35
+ matrix_create_dn: _cython_3_2_5.cython_function_or_method
36
+ matrix_destroy: _cython_3_2_5.cython_function_or_method
37
+ matrix_get_batch_csr: _cython_3_2_5.cython_function_or_method
38
+ matrix_get_batch_dn: _cython_3_2_5.cython_function_or_method
39
+ matrix_get_csr: _cython_3_2_5.cython_function_or_method
40
+ matrix_get_distribution_row1d: _cython_3_2_5.cython_function_or_method
41
+ matrix_get_dn: _cython_3_2_5.cython_function_or_method
42
+ matrix_get_format: _cython_3_2_5.cython_function_or_method
43
+ matrix_set_batch_csr_pointers: _cython_3_2_5.cython_function_or_method
44
+ matrix_set_batch_values: _cython_3_2_5.cython_function_or_method
45
+ matrix_set_csr_pointers: _cython_3_2_5.cython_function_or_method
46
+ matrix_set_distribution_row1d: _cython_3_2_5.cython_function_or_method
47
+ matrix_set_values: _cython_3_2_5.cython_function_or_method
48
+ set_async_workspace_allocator: _cython_3_2_5.cython_function_or_method
49
+ set_comm_layer: _cython_3_2_5.cython_function_or_method
50
+ set_device_mem_handler: _cython_3_2_5.cython_function_or_method
51
+ set_mg_streams: _cython_3_2_5.cython_function_or_method
52
+ set_stream: _cython_3_2_5.cython_function_or_method
53
+ set_threading_layer: _cython_3_2_5.cython_function_or_method
54
+
55
+ class ConfigParam(enum.IntEnum):
56
+ """
57
+ See `cudssConfigParam_t`.
58
+ """
59
+ __new__: ClassVar[Callable] = ...
60
+ DETERMINISTIC_MODE: ClassVar[ConfigParam] = ...
61
+ DEVICE_COUNT: ClassVar[ConfigParam] = ...
62
+ DEVICE_INDICES: ClassVar[ConfigParam] = ...
63
+ FACTORIZATION_ALG: ClassVar[ConfigParam] = ...
64
+ HOST_NTHREADS: ClassVar[ConfigParam] = ...
65
+ HYBRID_DEVICE_MEMORY_LIMIT: ClassVar[ConfigParam] = ...
66
+ HYBRID_EXECUTE_MODE: ClassVar[ConfigParam] = ...
67
+ HYBRID_MEMORY_MODE: ClassVar[ConfigParam] = ...
68
+ IR_N_STEPS: ClassVar[ConfigParam] = ...
69
+ IR_TOL: ClassVar[ConfigParam] = ...
70
+ MATCHING_ALG: ClassVar[ConfigParam] = ...
71
+ MAX_LU_NNZ: ClassVar[ConfigParam] = ...
72
+ ND_NLEVELS: ClassVar[ConfigParam] = ...
73
+ ND_UBFACTOR: ClassVar[ConfigParam] = ...
74
+ PIVOT_EPSILON: ClassVar[ConfigParam] = ...
75
+ PIVOT_EPSILON_ALG: ClassVar[ConfigParam] = ...
76
+ PIVOT_THRESHOLD: ClassVar[ConfigParam] = ...
77
+ PIVOT_TYPE: ClassVar[ConfigParam] = ...
78
+ REORDERING_ALG: ClassVar[ConfigParam] = ...
79
+ SCHUR_MODE: ClassVar[ConfigParam] = ...
80
+ SOLVE_ALG: ClassVar[ConfigParam] = ...
81
+ SOLVE_MODE: ClassVar[ConfigParam] = ...
82
+ UBATCH_INDEX: ClassVar[ConfigParam] = ...
83
+ UBATCH_SIZE: ClassVar[ConfigParam] = ...
84
+ USE_CUDA_REGISTER_MEMORY: ClassVar[ConfigParam] = ...
85
+ USE_SUPERPANELS: ClassVar[ConfigParam] = ...
86
+ _generate_next_value_: ClassVar[Callable] = ...
87
+ _member_map_: ClassVar[dict] = ...
88
+ _member_names_: ClassVar[list] = ...
89
+ _member_type_: ClassVar[type[int]] = ...
90
+ _unhashable_values_: ClassVar[list] = ...
91
+ _use_args_: ClassVar[bool] = ...
92
+ _value2member_map_: ClassVar[dict] = ...
93
+ def __format__(self, *args, **kwargs) -> str:
94
+ """Convert to a string according to format_spec."""
95
+
96
+ class DataParam(enum.IntEnum):
97
+ """
98
+ See `cudssDataParam_t`.
99
+ """
100
+ __new__: ClassVar[Callable] = ...
101
+ COMM_DEVICE: ClassVar[DataParam] = ...
102
+ COMM_HOST: ClassVar[DataParam] = ...
103
+ DIAG: ClassVar[DataParam] = ...
104
+ FLOPS: ClassVar[DataParam] = ...
105
+ HYBRID_DEVICE_MEMORY_MIN: ClassVar[DataParam] = ...
106
+ INERTIA: ClassVar[DataParam] = ...
107
+ INFO: ClassVar[DataParam] = ...
108
+ IR_N_STEPS: ClassVar[DataParam] = ...
109
+ LU_NNZ: ClassVar[DataParam] = ...
110
+ MEMORY_ESTIMATES: ClassVar[DataParam] = ...
111
+ ND_PARTITION_TREE: ClassVar[DataParam] = ...
112
+ NPIVOTS: ClassVar[DataParam] = ...
113
+ NSUPERPANELS: ClassVar[DataParam] = ...
114
+ PERM_COL: ClassVar[DataParam] = ...
115
+ PERM_MATCHING: ClassVar[DataParam] = ...
116
+ PERM_REORDER_COL: ClassVar[DataParam] = ...
117
+ PERM_REORDER_ROW: ClassVar[DataParam] = ...
118
+ PERM_ROW: ClassVar[DataParam] = ...
119
+ SCALE_COL: ClassVar[DataParam] = ...
120
+ SCALE_ROW: ClassVar[DataParam] = ...
121
+ SCHUR_MATRIX: ClassVar[DataParam] = ...
122
+ SCHUR_SHAPE: ClassVar[DataParam] = ...
123
+ UBATCH_MASK: ClassVar[DataParam] = ...
124
+ USER_HOST_INTERRUPT: ClassVar[DataParam] = ...
125
+ USER_ND_PARTITION_TREE: ClassVar[DataParam] = ...
126
+ USER_PERM: ClassVar[DataParam] = ...
127
+ USER_SCHUR_INDICES: ClassVar[DataParam] = ...
128
+ _generate_next_value_: ClassVar[Callable] = ...
129
+ _member_map_: ClassVar[dict] = ...
130
+ _member_names_: ClassVar[list] = ...
131
+ _member_type_: ClassVar[type[int]] = ...
132
+ _unhashable_values_: ClassVar[list] = ...
133
+ _use_args_: ClassVar[bool] = ...
134
+ _value2member_map_: ClassVar[dict] = ...
135
+ def __format__(self, *args, **kwargs) -> str:
136
+ """Convert to a string according to format_spec."""
137
+
138
+ class DataType(enum.IntEnum):
139
+ """
140
+ See `cudssDataType_t`.
141
+ """
142
+ __new__: ClassVar[Callable] = ...
143
+ C_32F: ClassVar[DataType] = ...
144
+ C_64F: ClassVar[DataType] = ...
145
+ R_32F: ClassVar[DataType] = ...
146
+ R_32I: ClassVar[DataType] = ...
147
+ R_64F: ClassVar[DataType] = ...
148
+ R_64F_64F: ClassVar[DataType] = ...
149
+ R_64I: ClassVar[DataType] = ...
150
+ UNSET: ClassVar[DataType] = ...
151
+ _generate_next_value_: ClassVar[Callable] = ...
152
+ _member_map_: ClassVar[dict] = ...
153
+ _member_names_: ClassVar[list] = ...
154
+ _member_type_: ClassVar[type[int]] = ...
155
+ _unhashable_values_: ClassVar[list] = ...
156
+ _use_args_: ClassVar[bool] = ...
157
+ _value2member_map_: ClassVar[dict] = ...
158
+ def __format__(self, *args, **kwargs) -> str:
159
+ """Convert to a string according to format_spec."""
160
+
161
+ class FactorizationAlg(enum.IntEnum):
162
+ """
163
+ See `cudssFactorizationAlg_t`.
164
+ """
165
+ __new__: ClassVar[Callable] = ...
166
+ DEFAULT: ClassVar[FactorizationAlg] = ...
167
+ GENERAL: ClassVar[FactorizationAlg] = ...
168
+ MULTIBLOCK: ClassVar[FactorizationAlg] = ...
169
+ _generate_next_value_: ClassVar[Callable] = ...
170
+ _member_map_: ClassVar[dict] = ...
171
+ _member_names_: ClassVar[list] = ...
172
+ _member_type_: ClassVar[type[int]] = ...
173
+ _unhashable_values_: ClassVar[list] = ...
174
+ _use_args_: ClassVar[bool] = ...
175
+ _value2member_map_: ClassVar[dict] = ...
176
+ def __format__(self, *args, **kwargs) -> str:
177
+ """Convert to a string according to format_spec."""
178
+
179
+ class IndexBase(enum.IntEnum):
180
+ """
181
+ See `cudssIndexBase_t`.
182
+ """
183
+ __new__: ClassVar[Callable] = ...
184
+ ONE: ClassVar[IndexBase] = ...
185
+ ZERO: ClassVar[IndexBase] = ...
186
+ _generate_next_value_: ClassVar[Callable] = ...
187
+ _member_map_: ClassVar[dict] = ...
188
+ _member_names_: ClassVar[list] = ...
189
+ _member_type_: ClassVar[type[int]] = ...
190
+ _unhashable_values_: ClassVar[list] = ...
191
+ _use_args_: ClassVar[bool] = ...
192
+ _value2member_map_: ClassVar[dict] = ...
193
+ def __format__(self, *args, **kwargs) -> str:
194
+ """Convert to a string according to format_spec."""
195
+
196
+ class Layout(enum.IntEnum):
197
+ """
198
+ See `cudssLayout_t`.
199
+ """
200
+ __new__: ClassVar[Callable] = ...
201
+ COL_MAJOR: ClassVar[Layout] = ...
202
+ ROW_MAJOR: ClassVar[Layout] = ...
203
+ _generate_next_value_: ClassVar[Callable] = ...
204
+ _member_map_: ClassVar[dict] = ...
205
+ _member_names_: ClassVar[list] = ...
206
+ _member_type_: ClassVar[type[int]] = ...
207
+ _unhashable_values_: ClassVar[list] = ...
208
+ _use_args_: ClassVar[bool] = ...
209
+ _value2member_map_: ClassVar[dict] = ...
210
+ def __format__(self, *args, **kwargs) -> str:
211
+ """Convert to a string according to format_spec."""
212
+
213
+ class MatchingAlg(enum.IntEnum):
214
+ """
215
+ See `cudssMatchingAlg_t`.
216
+ """
217
+ __new__: ClassVar[Callable] = ...
218
+ AUTO: ClassVar[MatchingAlg] = ...
219
+ MAX_DIAG_COUNT: ClassVar[MatchingAlg] = ...
220
+ MAX_DIAG_PRODUCT: ClassVar[MatchingAlg] = ...
221
+ MAX_DIAG_SUM: ClassVar[MatchingAlg] = ...
222
+ MAX_MIN_DIAG: ClassVar[MatchingAlg] = ...
223
+ MAX_MIN_DIAG_ALT: ClassVar[MatchingAlg] = ...
224
+ NONE: ClassVar[MatchingAlg] = ...
225
+ _generate_next_value_: ClassVar[Callable] = ...
226
+ _member_map_: ClassVar[dict] = ...
227
+ _member_names_: ClassVar[list] = ...
228
+ _member_type_: ClassVar[type[int]] = ...
229
+ _unhashable_values_: ClassVar[list] = ...
230
+ _use_args_: ClassVar[bool] = ...
231
+ _value2member_map_: ClassVar[dict] = ...
232
+ def __format__(self, *args, **kwargs) -> str:
233
+ """Convert to a string according to format_spec."""
234
+
235
+ class MatrixFormat(enum.IntEnum):
236
+ """
237
+ See `cudssMatrixFormat_t`.
238
+ """
239
+ __new__: ClassVar[Callable] = ...
240
+ BATCH: ClassVar[MatrixFormat] = ...
241
+ CSR: ClassVar[MatrixFormat] = ...
242
+ DENSE: ClassVar[MatrixFormat] = ...
243
+ DISTRIBUTED: ClassVar[MatrixFormat] = ...
244
+ _generate_next_value_: ClassVar[Callable] = ...
245
+ _member_map_: ClassVar[dict] = ...
246
+ _member_names_: ClassVar[list] = ...
247
+ _member_type_: ClassVar[type[int]] = ...
248
+ _unhashable_values_: ClassVar[list] = ...
249
+ _use_args_: ClassVar[bool] = ...
250
+ _value2member_map_: ClassVar[dict] = ...
251
+ def __format__(self, *args, **kwargs) -> str:
252
+ """Convert to a string according to format_spec."""
253
+
254
+ class MatrixType(enum.IntEnum):
255
+ """
256
+ See `cudssMatrixType_t`.
257
+ """
258
+ __new__: ClassVar[Callable] = ...
259
+ GENERAL: ClassVar[MatrixType] = ...
260
+ HERMITIAN: ClassVar[MatrixType] = ...
261
+ HPD: ClassVar[MatrixType] = ...
262
+ SPD: ClassVar[MatrixType] = ...
263
+ SYMMETRIC: ClassVar[MatrixType] = ...
264
+ _generate_next_value_: ClassVar[Callable] = ...
265
+ _member_map_: ClassVar[dict] = ...
266
+ _member_names_: ClassVar[list] = ...
267
+ _member_type_: ClassVar[type[int]] = ...
268
+ _unhashable_values_: ClassVar[list] = ...
269
+ _use_args_: ClassVar[bool] = ...
270
+ _value2member_map_: ClassVar[dict] = ...
271
+ def __format__(self, *args, **kwargs) -> str:
272
+ """Convert to a string according to format_spec."""
273
+
274
+ class MatrixViewType(enum.IntEnum):
275
+ """
276
+ See `cudssMatrixViewType_t`.
277
+ """
278
+ __new__: ClassVar[Callable] = ...
279
+ FULL: ClassVar[MatrixViewType] = ...
280
+ LOWER: ClassVar[MatrixViewType] = ...
281
+ UPPER: ClassVar[MatrixViewType] = ...
282
+ _generate_next_value_: ClassVar[Callable] = ...
283
+ _member_map_: ClassVar[dict] = ...
284
+ _member_names_: ClassVar[list] = ...
285
+ _member_type_: ClassVar[type[int]] = ...
286
+ _unhashable_values_: ClassVar[list] = ...
287
+ _use_args_: ClassVar[bool] = ...
288
+ _value2member_map_: ClassVar[dict] = ...
289
+ def __format__(self, *args, **kwargs) -> str:
290
+ """Convert to a string according to format_spec."""
291
+
292
+ class OpType(enum.IntEnum):
293
+ """
294
+ See `cudssOpType_t`.
295
+ """
296
+ __new__: ClassVar[Callable] = ...
297
+ MAX: ClassVar[OpType] = ...
298
+ MIN: ClassVar[OpType] = ...
299
+ SUM: ClassVar[OpType] = ...
300
+ _generate_next_value_: ClassVar[Callable] = ...
301
+ _member_map_: ClassVar[dict] = ...
302
+ _member_names_: ClassVar[list] = ...
303
+ _member_type_: ClassVar[type[int]] = ...
304
+ _unhashable_values_: ClassVar[list] = ...
305
+ _use_args_: ClassVar[bool] = ...
306
+ _value2member_map_: ClassVar[dict] = ...
307
+ def __format__(self, *args, **kwargs) -> str:
308
+ """Convert to a string according to format_spec."""
309
+
310
+ class Phase(enum.IntEnum):
311
+ """
312
+ See `cudssPhase_t`.
313
+ """
314
+ __new__: ClassVar[Callable] = ...
315
+ ANALYSIS: ClassVar[Phase] = ...
316
+ FACTORIZATION: ClassVar[Phase] = ...
317
+ REFACTORIZATION: ClassVar[Phase] = ...
318
+ REORDERING: ClassVar[Phase] = ...
319
+ SOLVE: ClassVar[Phase] = ...
320
+ SOLVE_BWD: ClassVar[Phase] = ...
321
+ SOLVE_BWD_PERM: ClassVar[Phase] = ...
322
+ SOLVE_DIAG: ClassVar[Phase] = ...
323
+ SOLVE_FWD: ClassVar[Phase] = ...
324
+ SOLVE_FWD_PERM: ClassVar[Phase] = ...
325
+ SOLVE_REFINEMENT: ClassVar[Phase] = ...
326
+ SYMBOLIC_FACTORIZATION: ClassVar[Phase] = ...
327
+ _generate_next_value_: ClassVar[Callable] = ...
328
+ _member_map_: ClassVar[dict] = ...
329
+ _member_names_: ClassVar[list] = ...
330
+ _member_type_: ClassVar[type[int]] = ...
331
+ _unhashable_values_: ClassVar[list] = ...
332
+ _use_args_: ClassVar[bool] = ...
333
+ _value2member_map_: ClassVar[dict] = ...
334
+ def __format__(self, *args, **kwargs) -> str:
335
+ """Convert to a string according to format_spec."""
336
+
337
+ class PivotEpsilonAlg(enum.IntEnum):
338
+ """
339
+ See `cudssPivotEpsilonAlg_t`.
340
+ """
341
+ __new__: ClassVar[Callable] = ...
342
+ DEFAULT: ClassVar[PivotEpsilonAlg] = ...
343
+ SCALED: ClassVar[PivotEpsilonAlg] = ...
344
+ STATIC: ClassVar[PivotEpsilonAlg] = ...
345
+ _generate_next_value_: ClassVar[Callable] = ...
346
+ _member_map_: ClassVar[dict] = ...
347
+ _member_names_: ClassVar[list] = ...
348
+ _member_type_: ClassVar[type[int]] = ...
349
+ _unhashable_values_: ClassVar[list] = ...
350
+ _use_args_: ClassVar[bool] = ...
351
+ _value2member_map_: ClassVar[dict] = ...
352
+ def __format__(self, *args, **kwargs) -> str:
353
+ """Convert to a string according to format_spec."""
354
+
355
+ class PivotType(enum.IntEnum):
356
+ """
357
+ See `cudssPivotType_t`.
358
+ """
359
+ __new__: ClassVar[Callable] = ...
360
+ PIVOT_AUTO: ClassVar[PivotType] = ...
361
+ PIVOT_BUNCH_KAUFMAN: ClassVar[PivotType] = ...
362
+ PIVOT_DIAGONAL: ClassVar[PivotType] = ...
363
+ PIVOT_GLOBAL_COL: ClassVar[PivotType] = ...
364
+ PIVOT_GLOBAL_ROW: ClassVar[PivotType] = ...
365
+ PIVOT_LOCAL_BLOCK: ClassVar[PivotType] = ...
366
+ PIVOT_NONE: ClassVar[PivotType] = ...
367
+ _generate_next_value_: ClassVar[Callable] = ...
368
+ _member_map_: ClassVar[dict] = ...
369
+ _member_names_: ClassVar[list] = ...
370
+ _member_type_: ClassVar[type[int]] = ...
371
+ _unhashable_values_: ClassVar[list] = ...
372
+ _use_args_: ClassVar[bool] = ...
373
+ _value2member_map_: ClassVar[dict] = ...
374
+ def __format__(self, *args, **kwargs) -> str:
375
+ """Convert to a string according to format_spec."""
376
+
377
+ class ReorderingAlg(enum.IntEnum):
378
+ """
379
+ See `cudssReorderingAlg_t`.
380
+ """
381
+ __new__: ClassVar[Callable] = ...
382
+ AMD: ClassVar[ReorderingAlg] = ...
383
+ BTF_COLAMD: ClassVar[ReorderingAlg] = ...
384
+ COLAMD: ClassVar[ReorderingAlg] = ...
385
+ DEFAULT: ClassVar[ReorderingAlg] = ...
386
+ NESTED_DISSECTION: ClassVar[ReorderingAlg] = ...
387
+ NONE: ClassVar[ReorderingAlg] = ...
388
+ _generate_next_value_: ClassVar[Callable] = ...
389
+ _member_map_: ClassVar[dict] = ...
390
+ _member_names_: ClassVar[list] = ...
391
+ _member_type_: ClassVar[type[int]] = ...
392
+ _unhashable_values_: ClassVar[list] = ...
393
+ _use_args_: ClassVar[bool] = ...
394
+ _value2member_map_: ClassVar[dict] = ...
395
+ def __format__(self, *args, **kwargs) -> str:
396
+ """Convert to a string according to format_spec."""
397
+
398
+ class SolveAlg(enum.IntEnum):
399
+ """
400
+ See `cudssSolveAlg_t`.
401
+ """
402
+ __new__: ClassVar[Callable] = ...
403
+ DEFAULT: ClassVar[SolveAlg] = ...
404
+ GENERAL: ClassVar[SolveAlg] = ...
405
+ _generate_next_value_: ClassVar[Callable] = ...
406
+ _member_map_: ClassVar[dict] = ...
407
+ _member_names_: ClassVar[list] = ...
408
+ _member_type_: ClassVar[type[int]] = ...
409
+ _unhashable_values_: ClassVar[list] = ...
410
+ _use_args_: ClassVar[bool] = ...
411
+ _value2member_map_: ClassVar[dict] = ...
412
+ def __format__(self, *args, **kwargs) -> str:
413
+ """Convert to a string according to format_spec."""
414
+
415
+ class Status(enum.IntEnum):
416
+ """
417
+ See `cudssStatus_t`.
418
+ """
419
+ __new__: ClassVar[Callable] = ...
420
+ ALLOC_FAILED: ClassVar[Status] = ...
421
+ EXECUTION_FAILED: ClassVar[Status] = ...
422
+ INTERNAL_ERROR: ClassVar[Status] = ...
423
+ INVALID_VALUE: ClassVar[Status] = ...
424
+ IR_FAILED: ClassVar[Status] = ...
425
+ NOT_INITIALIZED: ClassVar[Status] = ...
426
+ NOT_SUPPORTED: ClassVar[Status] = ...
427
+ SUCCESS: ClassVar[Status] = ...
428
+ _generate_next_value_: ClassVar[Callable] = ...
429
+ _member_map_: ClassVar[dict] = ...
430
+ _member_names_: ClassVar[list] = ...
431
+ _member_type_: ClassVar[type[int]] = ...
432
+ _unhashable_values_: ClassVar[list] = ...
433
+ _use_args_: ClassVar[bool] = ...
434
+ _value2member_map_: ClassVar[dict] = ...
435
+ def __format__(self, *args, **kwargs) -> str:
436
+ """Convert to a string according to format_spec."""
437
+
438
+ class cuDSSError(Exception):
439
+ """cuDSSError(status)"""
440
+ def __init__(self, status) -> Any:
441
+ """Initialize self. See help(type(self)) for accurate signature."""
442
+ def __reduce__(self) -> Any:
443
+ """cuDSSError.__reduce__(self)"""
@@ -0,0 +1,118 @@
1
+ # Copyright (c) 2024-2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This code was automatically generated across versions from 11.0.3 to 13.2.0, generator version 0.3.1.dev1301+g7215ac36e. Do not modify it directly.
6
+
7
+ from libc.stdint cimport intptr_t
8
+
9
+ from .cycufft cimport *
10
+
11
+
12
+ ###############################################################################
13
+ # Types
14
+ ###############################################################################
15
+
16
+ ctypedef cufftXt1dFactors Xt1dFactors
17
+ ctypedef cufftCallbackLoadC CallbackLoadC
18
+ ctypedef cufftCallbackLoadZ CallbackLoadZ
19
+ ctypedef cufftCallbackLoadR CallbackLoadR
20
+ ctypedef cufftCallbackLoadD CallbackLoadD
21
+ ctypedef cufftJITCallbackLoadC JITCallbackLoadC
22
+ ctypedef cufftJITCallbackLoadZ JITCallbackLoadZ
23
+ ctypedef cufftJITCallbackLoadR JITCallbackLoadR
24
+ ctypedef cufftJITCallbackLoadD JITCallbackLoadD
25
+ ctypedef cufftCallbackStoreR CallbackStoreR
26
+ ctypedef cufftJITCallbackStoreR JITCallbackStoreR
27
+ ctypedef cufftCallbackStoreD CallbackStoreD
28
+ ctypedef cufftJITCallbackStoreD JITCallbackStoreD
29
+ ctypedef cufftCallbackStoreC CallbackStoreC
30
+ ctypedef cufftJITCallbackStoreC JITCallbackStoreC
31
+ ctypedef cufftCallbackStoreZ CallbackStoreZ
32
+ ctypedef cufftJITCallbackStoreZ JITCallbackStoreZ
33
+
34
+ ctypedef cudaStream_t Stream
35
+ ctypedef cudaDataType DataType
36
+ ctypedef libraryPropertyType_t LibraryPropertyType
37
+
38
+
39
+ ###############################################################################
40
+ # Enum
41
+ ###############################################################################
42
+
43
+ ctypedef libFormat_t _LibFormat
44
+ ctypedef cufftResult _Result
45
+ ctypedef cufftType _Type
46
+ ctypedef cufftCompatibility _Compatibility
47
+ ctypedef cufftXtSubFormat _XtSubFormat
48
+ ctypedef cufftXtCopyType _XtCopyType
49
+ ctypedef cufftXtQueryType _XtQueryType
50
+ ctypedef cufftXtWorkAreaPolicy _XtWorkAreaPolicy
51
+ ctypedef cufftXtCallbackType _XtCallbackType
52
+ ctypedef cufftProperty _Property
53
+
54
+
55
+ ###############################################################################
56
+ # Functions
57
+ ###############################################################################
58
+
59
+ cpdef plan1d(intptr_t plan, int nx, int type, int batch)
60
+ cpdef plan2d(intptr_t plan, int nx, int ny, int type)
61
+ cpdef plan3d(intptr_t plan, int nx, int ny, int nz, int type)
62
+ cpdef plan_many(intptr_t plan, int rank, n, inembed, int istride, int idist, onembed, int ostride, int odist, int type, int batch)
63
+ cpdef size_t make_plan1d(int plan, int nx, int type, int batch) except? -1
64
+ cpdef size_t make_plan2d(int plan, int nx, int ny, int type) except? -1
65
+ cpdef size_t make_plan3d(int plan, int nx, int ny, int nz, int type) except? -1
66
+ cpdef size_t make_plan_many(int plan, int rank, n, inembed, int istride, int idist, onembed, int ostride, int odist, int type, int batch) except? -1
67
+ cpdef size_t make_plan_many64(int plan, int rank, n, inembed, long long int istride, long long int idist, onembed, long long int ostride, long long int odist, int type, long long int batch) except? -1
68
+ cpdef size_t get_size_many64(int plan, int rank, n, inembed, long long int istride, long long int idist, onembed, long long int ostride, long long int odist, int type, long long int batch) except? -1
69
+ cpdef size_t estimate1d(int nx, int type, int batch) except? -1
70
+ cpdef size_t estimate2d(int nx, int ny, int type) except? -1
71
+ cpdef size_t estimate3d(int nx, int ny, int nz, int type) except? -1
72
+ cpdef size_t estimate_many(int rank, n, inembed, int istride, int idist, onembed, int ostride, int odist, int type, int batch) except? -1
73
+ cpdef int create() except? -1
74
+ cpdef size_t get_size1d(int handle, int nx, int type, int batch) except? -1
75
+ cpdef size_t get_size2d(int handle, int nx, int ny, int type) except? -1
76
+ cpdef size_t get_size3d(int handle, int nx, int ny, int nz, int type) except? -1
77
+ cpdef size_t get_size_many(int handle, int rank, intptr_t n, intptr_t inembed, int istride, int idist, intptr_t onembed, int ostride, int odist, int type, int batch) except? -1
78
+ cpdef size_t get_size(int handle) except? -1
79
+ cpdef set_work_area(int plan, intptr_t work_area)
80
+ cpdef set_auto_allocation(int plan, int auto_allocate)
81
+ cpdef exec_c2c(int plan, intptr_t idata, intptr_t odata, int direction)
82
+ cpdef exec_r2c(int plan, intptr_t idata, intptr_t odata)
83
+ cpdef exec_c2r(int plan, intptr_t idata, intptr_t odata)
84
+ cpdef exec_z2z(int plan, intptr_t idata, intptr_t odata, int direction)
85
+ cpdef exec_d2z(int plan, intptr_t idata, intptr_t odata)
86
+ cpdef exec_z2d(int plan, intptr_t idata, intptr_t odata)
87
+ cpdef set_stream(int plan, intptr_t stream)
88
+ cpdef destroy(int plan)
89
+ cpdef int get_version() except? -1
90
+ cpdef int get_property(int type) except? -1
91
+ cpdef xt_set_gpus(int handle, int n_gpus, which_gpus)
92
+ cpdef intptr_t xt_malloc(int plan, int format) except? -1
93
+ cpdef xt_memcpy(int plan, intptr_t dst_pointer, intptr_t src_pointer, int type)
94
+ cpdef xt_free(intptr_t descriptor)
95
+ cpdef xt_set_work_area(int plan, intptr_t work_area)
96
+ cpdef xt_exec_descriptor_c2c(int plan, intptr_t input, intptr_t output, int direction)
97
+ cpdef xt_exec_descriptor_r2c(int plan, intptr_t input, intptr_t output)
98
+ cpdef xt_exec_descriptor_c2r(int plan, intptr_t input, intptr_t output)
99
+ cpdef xt_exec_descriptor_z2z(int plan, intptr_t input, intptr_t output, int direction)
100
+ cpdef xt_exec_descriptor_d2z(int plan, intptr_t input, intptr_t output)
101
+ cpdef xt_exec_descriptor_z2d(int plan, intptr_t input, intptr_t output)
102
+ cpdef xt_query_plan(int plan, intptr_t query_struct, int query_type)
103
+ cpdef xt_clear_callback(int plan, int cb_type)
104
+ cpdef xt_set_callback_shared_size(int plan, int cb_type, size_t shared_size)
105
+ cpdef size_t xt_make_plan_many(int plan, int rank, n, inembed, long long int istride, long long int idist, int inputtype, onembed, long long int ostride, long long int odist, int outputtype, long long int batch, int executiontype) except? 0
106
+ cpdef size_t xt_get_size_many(int plan, int rank, n, inembed, long long int istride, long long int idist, int inputtype, onembed, long long int ostride, long long int odist, int outputtype, long long int batch, int executiontype) except? 0
107
+ cpdef xt_exec(int plan, intptr_t input, intptr_t output, int direction)
108
+ cpdef xt_exec_descriptor(int plan, intptr_t input, intptr_t output, int direction)
109
+ cpdef xt_set_work_area_policy(int plan, int policy, intptr_t work_size)
110
+ cpdef _xt_set_jit_callback(int plan, intptr_t lto_callback_symbol_name, lto_callback_fatbin, size_t lto_callback_fatbin_size, int type, caller_info)
111
+ cpdef xt_set_subformat_default(int plan, int subformat_forward, int subformat_inverse)
112
+ cpdef set_plan_property_int64(int plan, int property, long long int input_value_int)
113
+ cpdef long long int get_plan_property_int64(int plan, int property) except? -1
114
+ cpdef reset_plan_property(int plan, int property)
115
+ cpdef _xt_set_jit_callback_12_7(int plan, intptr_t lto_callback_symbol_name, lto_callback_fatbin, size_t lto_callback_fatbin_size, int type, caller_info)
116
+
117
+ # wrapper calling the correct function based on the CTK version
118
+ cpdef xt_set_jit_callback(int plan, intptr_t lto_callback_symbol_name, lto_callback_fatbin, size_t lto_callback_fatbin_size, int type, caller_info)