gstaichi 0.1.18.dev1__cp310-cp310-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 (198) hide show
  1. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools/cmake/SPIRV-ToolsConfig.cmake +5 -0
  2. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools/cmake/SPIRV-ToolsTarget-release.cmake +29 -0
  3. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools/cmake/SPIRV-ToolsTarget.cmake +113 -0
  4. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-diff/cmake/SPIRV-Tools-diffConfig.cmake +5 -0
  5. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-diff/cmake/SPIRV-Tools-diffTargets-release.cmake +19 -0
  6. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-diff/cmake/SPIRV-Tools-diffTargets.cmake +122 -0
  7. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-link/cmake/SPIRV-Tools-linkConfig.cmake +5 -0
  8. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-link/cmake/SPIRV-Tools-linkTargets-release.cmake +19 -0
  9. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-link/cmake/SPIRV-Tools-linkTargets.cmake +122 -0
  10. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-lint/cmake/SPIRV-Tools-lintConfig.cmake +5 -0
  11. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-lint/cmake/SPIRV-Tools-lintTargets-release.cmake +19 -0
  12. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-lint/cmake/SPIRV-Tools-lintTargets.cmake +122 -0
  13. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-opt/cmake/SPIRV-Tools-optConfig.cmake +5 -0
  14. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-opt/cmake/SPIRV-Tools-optTargets-release.cmake +19 -0
  15. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-opt/cmake/SPIRV-Tools-optTargets.cmake +122 -0
  16. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-reduce/cmake/SPIRV-Tools-reduceConfig.cmake +5 -0
  17. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-reduce/cmake/SPIRV-Tools-reduceTarget-release.cmake +19 -0
  18. gstaichi-0.1.18.dev1.data/data/SPIRV-Tools-reduce/cmake/SPIRV-Tools-reduceTarget.cmake +122 -0
  19. gstaichi-0.1.18.dev1.data/data/bin/SPIRV-Tools-shared.dll +0 -0
  20. gstaichi-0.1.18.dev1.data/data/include/GLFW/glfw3.h +6389 -0
  21. gstaichi-0.1.18.dev1.data/data/include/GLFW/glfw3native.h +594 -0
  22. gstaichi-0.1.18.dev1.data/data/include/spirv-tools/instrument.hpp +268 -0
  23. gstaichi-0.1.18.dev1.data/data/include/spirv-tools/libspirv.h +907 -0
  24. gstaichi-0.1.18.dev1.data/data/include/spirv-tools/libspirv.hpp +375 -0
  25. gstaichi-0.1.18.dev1.data/data/include/spirv-tools/linker.hpp +97 -0
  26. gstaichi-0.1.18.dev1.data/data/include/spirv-tools/optimizer.hpp +970 -0
  27. gstaichi-0.1.18.dev1.data/data/lib/SPIRV-Tools-diff.lib +0 -0
  28. gstaichi-0.1.18.dev1.data/data/lib/SPIRV-Tools-link.lib +0 -0
  29. gstaichi-0.1.18.dev1.data/data/lib/SPIRV-Tools-lint.lib +0 -0
  30. gstaichi-0.1.18.dev1.data/data/lib/SPIRV-Tools-opt.lib +0 -0
  31. gstaichi-0.1.18.dev1.data/data/lib/SPIRV-Tools-reduce.lib +0 -0
  32. gstaichi-0.1.18.dev1.data/data/lib/SPIRV-Tools-shared.lib +0 -0
  33. gstaichi-0.1.18.dev1.data/data/lib/SPIRV-Tools.lib +0 -0
  34. gstaichi-0.1.18.dev1.data/data/lib/cmake/glfw3/glfw3Config.cmake +3 -0
  35. gstaichi-0.1.18.dev1.data/data/lib/cmake/glfw3/glfw3ConfigVersion.cmake +65 -0
  36. gstaichi-0.1.18.dev1.data/data/lib/cmake/glfw3/glfw3Targets-release.cmake +19 -0
  37. gstaichi-0.1.18.dev1.data/data/lib/cmake/glfw3/glfw3Targets.cmake +107 -0
  38. gstaichi-0.1.18.dev1.data/data/lib/glfw3.lib +0 -0
  39. gstaichi-0.1.18.dev1.dist-info/METADATA +108 -0
  40. gstaichi-0.1.18.dev1.dist-info/RECORD +198 -0
  41. gstaichi-0.1.18.dev1.dist-info/WHEEL +5 -0
  42. gstaichi-0.1.18.dev1.dist-info/entry_points.txt +2 -0
  43. gstaichi-0.1.18.dev1.dist-info/licenses/LICENSE +201 -0
  44. gstaichi-0.1.18.dev1.dist-info/top_level.txt +1 -0
  45. taichi/CHANGELOG.md +15 -0
  46. taichi/__init__.py +44 -0
  47. taichi/__main__.py +5 -0
  48. taichi/_funcs.py +706 -0
  49. taichi/_kernels.py +420 -0
  50. taichi/_lib/__init__.py +3 -0
  51. taichi/_lib/c_api/bin/taichi_c_api.dll +0 -0
  52. taichi/_lib/c_api/include/taichi/cpp/taichi.hpp +1401 -0
  53. taichi/_lib/c_api/include/taichi/taichi.h +29 -0
  54. taichi/_lib/c_api/include/taichi/taichi_core.h +1111 -0
  55. taichi/_lib/c_api/include/taichi/taichi_cpu.h +29 -0
  56. taichi/_lib/c_api/include/taichi/taichi_cuda.h +36 -0
  57. taichi/_lib/c_api/include/taichi/taichi_platform.h +55 -0
  58. taichi/_lib/c_api/include/taichi/taichi_unity.h +64 -0
  59. taichi/_lib/c_api/include/taichi/taichi_vulkan.h +151 -0
  60. taichi/_lib/c_api/lib/taichi_c_api.lib +0 -0
  61. taichi/_lib/c_api/runtime/runtime_cuda.bc +0 -0
  62. taichi/_lib/c_api/runtime/runtime_x64.bc +0 -0
  63. taichi/_lib/c_api/runtime/slim_libdevice.10.bc +0 -0
  64. taichi/_lib/c_api/taichi/lib/cmake/taichi/TaichiConfig.cmake +29 -0
  65. taichi/_lib/c_api/taichi/lib/cmake/taichi/TaichiConfigVersion.cmake +65 -0
  66. taichi/_lib/c_api/taichi/lib/cmake/taichi/TaichiTargets.cmake +121 -0
  67. taichi/_lib/core/__init__.py +0 -0
  68. taichi/_lib/core/py.typed +0 -0
  69. taichi/_lib/core/taichi_python.cp310-win_amd64.pyd +0 -0
  70. taichi/_lib/core/taichi_python.pyi +3077 -0
  71. taichi/_lib/runtime/runtime_cuda.bc +0 -0
  72. taichi/_lib/runtime/runtime_x64.bc +0 -0
  73. taichi/_lib/runtime/slim_libdevice.10.bc +0 -0
  74. taichi/_lib/utils.py +249 -0
  75. taichi/_logging.py +131 -0
  76. taichi/_main.py +552 -0
  77. taichi/_snode/__init__.py +5 -0
  78. taichi/_snode/fields_builder.py +189 -0
  79. taichi/_snode/snode_tree.py +34 -0
  80. taichi/_ti_module/__init__.py +3 -0
  81. taichi/_ti_module/cppgen.py +309 -0
  82. taichi/_ti_module/module.py +145 -0
  83. taichi/_version.py +1 -0
  84. taichi/_version_check.py +100 -0
  85. taichi/ad/__init__.py +3 -0
  86. taichi/ad/_ad.py +530 -0
  87. taichi/algorithms/__init__.py +3 -0
  88. taichi/algorithms/_algorithms.py +117 -0
  89. taichi/aot/__init__.py +12 -0
  90. taichi/aot/_export.py +28 -0
  91. taichi/aot/conventions/__init__.py +3 -0
  92. taichi/aot/conventions/gfxruntime140/__init__.py +38 -0
  93. taichi/aot/conventions/gfxruntime140/dr.py +244 -0
  94. taichi/aot/conventions/gfxruntime140/sr.py +613 -0
  95. taichi/aot/module.py +253 -0
  96. taichi/aot/utils.py +151 -0
  97. taichi/assets/.git +1 -0
  98. taichi/assets/Go-Regular.ttf +0 -0
  99. taichi/assets/static/imgs/ti_gallery.png +0 -0
  100. taichi/examples/minimal.py +28 -0
  101. taichi/experimental.py +16 -0
  102. taichi/graph/__init__.py +3 -0
  103. taichi/graph/_graph.py +292 -0
  104. taichi/lang/__init__.py +50 -0
  105. taichi/lang/_ndarray.py +348 -0
  106. taichi/lang/_ndrange.py +152 -0
  107. taichi/lang/_texture.py +172 -0
  108. taichi/lang/_wrap_inspect.py +189 -0
  109. taichi/lang/any_array.py +99 -0
  110. taichi/lang/argpack.py +411 -0
  111. taichi/lang/ast/__init__.py +5 -0
  112. taichi/lang/ast/ast_transformer.py +1806 -0
  113. taichi/lang/ast/ast_transformer_utils.py +328 -0
  114. taichi/lang/ast/checkers.py +106 -0
  115. taichi/lang/ast/symbol_resolver.py +57 -0
  116. taichi/lang/ast/transform.py +9 -0
  117. taichi/lang/common_ops.py +310 -0
  118. taichi/lang/exception.py +80 -0
  119. taichi/lang/expr.py +180 -0
  120. taichi/lang/field.py +464 -0
  121. taichi/lang/impl.py +1246 -0
  122. taichi/lang/kernel_arguments.py +157 -0
  123. taichi/lang/kernel_impl.py +1415 -0
  124. taichi/lang/matrix.py +1877 -0
  125. taichi/lang/matrix_ops.py +341 -0
  126. taichi/lang/matrix_ops_utils.py +190 -0
  127. taichi/lang/mesh.py +687 -0
  128. taichi/lang/misc.py +807 -0
  129. taichi/lang/ops.py +1489 -0
  130. taichi/lang/runtime_ops.py +13 -0
  131. taichi/lang/shell.py +35 -0
  132. taichi/lang/simt/__init__.py +5 -0
  133. taichi/lang/simt/block.py +94 -0
  134. taichi/lang/simt/grid.py +7 -0
  135. taichi/lang/simt/subgroup.py +191 -0
  136. taichi/lang/simt/warp.py +96 -0
  137. taichi/lang/snode.py +487 -0
  138. taichi/lang/source_builder.py +150 -0
  139. taichi/lang/struct.py +855 -0
  140. taichi/lang/util.py +381 -0
  141. taichi/linalg/__init__.py +8 -0
  142. taichi/linalg/matrixfree_cg.py +310 -0
  143. taichi/linalg/sparse_cg.py +59 -0
  144. taichi/linalg/sparse_matrix.py +303 -0
  145. taichi/linalg/sparse_solver.py +123 -0
  146. taichi/math/__init__.py +11 -0
  147. taichi/math/_complex.py +204 -0
  148. taichi/math/mathimpl.py +886 -0
  149. taichi/profiler/__init__.py +6 -0
  150. taichi/profiler/kernel_metrics.py +260 -0
  151. taichi/profiler/kernel_profiler.py +592 -0
  152. taichi/profiler/memory_profiler.py +15 -0
  153. taichi/profiler/scoped_profiler.py +36 -0
  154. taichi/shaders/Circles_vk.frag +29 -0
  155. taichi/shaders/Circles_vk.vert +45 -0
  156. taichi/shaders/Circles_vk_frag.spv +0 -0
  157. taichi/shaders/Circles_vk_vert.spv +0 -0
  158. taichi/shaders/Lines_vk.frag +9 -0
  159. taichi/shaders/Lines_vk.vert +11 -0
  160. taichi/shaders/Lines_vk_frag.spv +0 -0
  161. taichi/shaders/Lines_vk_vert.spv +0 -0
  162. taichi/shaders/Mesh_vk.frag +71 -0
  163. taichi/shaders/Mesh_vk.vert +68 -0
  164. taichi/shaders/Mesh_vk_frag.spv +0 -0
  165. taichi/shaders/Mesh_vk_vert.spv +0 -0
  166. taichi/shaders/Particles_vk.frag +95 -0
  167. taichi/shaders/Particles_vk.vert +73 -0
  168. taichi/shaders/Particles_vk_frag.spv +0 -0
  169. taichi/shaders/Particles_vk_vert.spv +0 -0
  170. taichi/shaders/SceneLines2quad_vk_comp.spv +0 -0
  171. taichi/shaders/SceneLines_vk.frag +9 -0
  172. taichi/shaders/SceneLines_vk.vert +12 -0
  173. taichi/shaders/SceneLines_vk_frag.spv +0 -0
  174. taichi/shaders/SceneLines_vk_vert.spv +0 -0
  175. taichi/shaders/SetImage_vk.frag +21 -0
  176. taichi/shaders/SetImage_vk.vert +15 -0
  177. taichi/shaders/SetImage_vk_frag.spv +0 -0
  178. taichi/shaders/SetImage_vk_vert.spv +0 -0
  179. taichi/shaders/Triangles_vk.frag +16 -0
  180. taichi/shaders/Triangles_vk.vert +29 -0
  181. taichi/shaders/Triangles_vk_frag.spv +0 -0
  182. taichi/shaders/Triangles_vk_vert.spv +0 -0
  183. taichi/shaders/lines2quad_vk_comp.spv +0 -0
  184. taichi/sparse/__init__.py +3 -0
  185. taichi/sparse/_sparse_grid.py +77 -0
  186. taichi/tools/__init__.py +12 -0
  187. taichi/tools/diagnose.py +124 -0
  188. taichi/tools/np2ply.py +364 -0
  189. taichi/tools/vtk.py +38 -0
  190. taichi/types/__init__.py +19 -0
  191. taichi/types/annotations.py +47 -0
  192. taichi/types/compound_types.py +90 -0
  193. taichi/types/enums.py +49 -0
  194. taichi/types/ndarray_type.py +147 -0
  195. taichi/types/primitive_types.py +203 -0
  196. taichi/types/quant.py +88 -0
  197. taichi/types/texture_type.py +85 -0
  198. taichi/types/utils.py +13 -0
@@ -0,0 +1,3077 @@
1
+ """
2
+ taichi_python
3
+ """
4
+ from __future__ import annotations
5
+ import numpy
6
+ import typing
7
+ __all__ = ['ADJOINT', 'ADJOINT_CHECKBIT', 'AOS', 'ASTBuilder', 'AotModuleBuilder', 'Arch', 'Arg', 'ArgKind', 'ArgPack', 'AutodiffMode', 'Axis', 'Benchmark', 'BinaryOpType', 'BitStructType', 'BitStructTypeBuilder', 'BoundaryMode', 'CC', 'CE', 'CF', 'CGd', 'CGf', 'CLAMP', 'CUCG', 'CV', 'Cell', 'CompileConfig', 'CompiledGraph', 'CompiledKernelData', 'Config', 'ConvType', 'CuSparseMatrix', 'CuSparseSolver', 'DUAL', 'DataType', 'DataType_f16', 'DataType_f32', 'DataType_f64', 'DataType_gen', 'DataType_i16', 'DataType_i32', 'DataType_i64', 'DataType_i8', 'DataType_u1', 'DataType_u16', 'DataType_u32', 'DataType_u64', 'DataType_u8', 'DataType_unknown', 'DebugInfo', 'DeviceAllocation', 'DeviceCapabilityConfig', 'EC', 'EE', 'EF', 'EV', 'Edge', 'EigenSparseSolverfloat32LDLTAMD', 'EigenSparseSolverfloat32LDLTCOLAMD', 'EigenSparseSolverfloat32LLTAMD', 'EigenSparseSolverfloat32LLTCOLAMD', 'EigenSparseSolverfloat32LUAMD', 'EigenSparseSolverfloat32LUCOLAMD', 'EigenSparseSolverfloat64LDLTAMD', 'EigenSparseSolverfloat64LDLTCOLAMD', 'EigenSparseSolverfloat64LLTAMD', 'EigenSparseSolverfloat64LLTCOLAMD', 'EigenSparseSolverfloat64LUAMD', 'EigenSparseSolverfloat64LUCOLAMD', 'Expr', 'ExprGroup', 'Extension', 'FC', 'FE', 'FF', 'FORWARD', 'FV', 'Face', 'Format', 'Function', 'FunctionKey', 'GraphBuilder', 'HackedSignalRegister', 'InternalOp', 'Kernel', 'KernelLaunchContext', 'KernelProfileTracedRecord', 'KernelProfilerQueryResult', 'Layout', 'MATRIX', 'Mesh', 'MeshElementType', 'MeshPtr', 'MeshRelationType', 'MeshTopology', 'NDARRAY', 'NONE', 'NULL', 'Ndarray', 'Node', 'Operation', 'PRIMAL', 'Program', 'REVERSE', 'RWTEXTURE', 'SCALAR', 'SNode', 'SNodeAccessFlag', 'SNodeGradType', 'SNodeRegistry', 'SNodeTree', 'SNodeType', 'SOA', 'Sequential', 'SparseMatrix', 'SparseMatrixBuilder', 'SparseSolver', 'Stmt', 'TEXTURE', 'TaichiAssertionError', 'TaichiIndexError', 'TaichiRuntimeError', 'TaichiSyntaxError', 'TaichiTypeError', 'Task', 'Tetrahedron', 'Texture', 'TextureOpType', 'Triangle', 'Type', 'TypeFactory', 'UNSAFE', 'UnaryOpType', 'VALIDATION', 'VC', 'VE', 'VF', 'VV', 'Vector2d', 'Vector2f', 'Vector2i', 'Vector3d', 'Vector3f', 'Vector3i', 'Vector4d', 'Vector4f', 'Vector4i', 'Vertex', 'abs', 'acos', 'add', 'adstack', 'amdgpu', 'arch_from_name', 'arch_name', 'arch_uses_llvm', 'arm64', 'asin', 'assertion', 'atan2', 'bit_and', 'bit_not', 'bit_or', 'bit_sar', 'bit_shl', 'bit_shr', 'bit_struct', 'bit_xor', 'bitmasked', 'bits_cast', 'block_local', 'bls', 'cast_bits', 'cast_value', 'ceil', 'clean_offline_cache_files', 'clear_profile_info', 'clz', 'cmp_eq', 'cmp_ge', 'cmp_gt', 'cmp_le', 'cmp_lt', 'cmp_ne', 'cos', 'create_benchmark', 'create_initialized_benchmark', 'create_initialized_task', 'create_mesh', 'create_task', 'critical', 'cuda', 'cuda_version', 'dColMajor_EigenSparseMatrix', 'dRowMajor_EigenSparseMatrix', 'data64', 'data_type_name', 'data_type_size', 'debug', 'default_compile_config', 'dense', 'div', 'dx11', 'dx12', 'dynamic', 'element_order', 'element_type_name', 'error', 'exp', 'expr_abs', 'expr_acos', 'expr_add', 'expr_asin', 'expr_assume_in_range', 'expr_atan2', 'expr_atomic_add', 'expr_atomic_bit_and', 'expr_atomic_bit_or', 'expr_atomic_bit_xor', 'expr_atomic_max', 'expr_atomic_min', 'expr_atomic_mul', 'expr_atomic_sub', 'expr_bit_and', 'expr_bit_not', 'expr_bit_or', 'expr_bit_sar', 'expr_bit_shl', 'expr_bit_shr', 'expr_bit_xor', 'expr_ceil', 'expr_clz', 'expr_cmp_eq', 'expr_cmp_ge', 'expr_cmp_gt', 'expr_cmp_le', 'expr_cmp_lt', 'expr_cmp_ne', 'expr_cos', 'expr_div', 'expr_exp', 'expr_field', 'expr_floor', 'expr_floordiv', 'expr_frexp', 'expr_ifte', 'expr_inv', 'expr_log', 'expr_logic_not', 'expr_logical_and', 'expr_logical_or', 'expr_loop_unique', 'expr_matrix_field', 'expr_max', 'expr_min', 'expr_mod', 'expr_mul', 'expr_neg', 'expr_popcnt', 'expr_pow', 'expr_rcp', 'expr_round', 'expr_rsqrt', 'expr_select', 'expr_sin', 'expr_sqrt', 'expr_sub', 'expr_tan', 'expr_tanh', 'expr_truediv', 'extfunc', 'fColMajor_EigenSparseMatrix', 'fRowMajor_EigenSparseMatrix', 'finalize_snode_tree', 'floor', 'floordiv', 'flush_log', 'frexp', 'from_end_element_order', 'g2r', 'get_commit_hash', 'get_default_float_size', 'get_external_tensor_dim', 'get_external_tensor_element_dim', 'get_external_tensor_element_shape', 'get_external_tensor_element_type', 'get_external_tensor_needs_grad', 'get_external_tensor_real_func_args', 'get_external_tensor_shape_along_axis', 'get_llvm_target_support', 'get_max_num_args', 'get_max_num_indices', 'get_num_elements', 'get_python_package_dir', 'get_relation_access', 'get_relation_size', 'get_repo_dir', 'get_type_factory_instance', 'get_version_major', 'get_version_minor', 'get_version_patch', 'get_version_string', 'gles', 'hash', 'host_arch', 'info', 'insert_internal_func_call', 'inv', 'inverse_relation', 'is_extension_supported', 'is_integral', 'is_quant', 'is_real', 'is_signed', 'is_tensor', 'is_unsigned', 'js', 'kFetchTexel', 'kLoad', 'kSampleLod', 'kStore', 'kUndefined', 'l2g', 'l2r', 'libdevice_path', 'log', 'logging_effective', 'logic_not', 'make_arg_load_expr', 'make_binary_op_expr', 'make_const_expr_bool', 'make_const_expr_fp', 'make_const_expr_int', 'make_cucg_solver', 'make_cusparse_solver', 'make_double_cg_solver', 'make_external_tensor_expr', 'make_external_tensor_grad_expr', 'make_float_cg_solver', 'make_frontend_assign_stmt', 'make_get_element_expr', 'make_global_load_stmt', 'make_global_store_stmt', 'make_rand_expr', 'make_reference', 'make_rw_texture_ptr_expr', 'make_sparse_solver', 'make_texture_ptr_expr', 'make_unary_op_expr', 'max', 'mesh', 'mesh_local', 'metal', 'min', 'mod', 'mul', 'neg', 'opencl', 'opengl', 'place', 'pointer', 'pop_python_print_buffer', 'popcnt', 'pow', 'print_all_units', 'print_profile_info', 'promoted_type', 'quant', 'quant_array', 'quant_basic', 'query_int64', 'rcp', 'read_only', 'relation_by_orders', 'reset_default_compile_config', 'root', 'round', 'rsqrt', 'set_core_state_python_imported', 'set_core_trigger_gdb_when_crash', 'set_index_mapping', 'set_lib_dir', 'set_logging_level', 'set_logging_level_default', 'set_num_elements', 'set_num_patches', 'set_owned_offset', 'set_patch_max_element_num', 'set_python_package_dir', 'set_relation_dynamic', 'set_relation_fixed', 'set_tmp_dir', 'set_total_offset', 'set_vulkan_visible_device', 'sgn', 'sin', 'sparse', 'sqrt', 'start_memory_monitoring', 'sub', 'subscript_with_multiple_indices', 'tan', 'tanh', 'test_cpp_exception', 'test_logging', 'test_printf', 'test_raise_error', 'test_threading', 'test_throw', 'to_end_element_order', 'toggle_python_print_buffer', 'trace', 'trigger_crash', 'trigger_sig_fpe', 'truediv', 'undefined', 'value_cast', 'vulkan', 'wait_for_debugger', 'warn', 'with_amdgpu', 'with_cuda', 'with_dx11', 'with_dx12', 'with_metal', 'with_opengl', 'with_vulkan', 'x64']
8
+ class ASTBuilder:
9
+ def begin_frontend_if(self, arg0: ..., arg1: DebugInfo) -> None:
10
+ ...
11
+ def begin_frontend_if_false(self) -> None:
12
+ ...
13
+ def begin_frontend_if_true(self) -> None:
14
+ ...
15
+ def begin_frontend_mesh_for(self, arg0: ..., arg1: ..., arg2: ..., arg3: DebugInfo) -> None:
16
+ ...
17
+ def begin_frontend_range_for(self, arg0: ..., arg1: ..., arg2: ..., arg3: DebugInfo) -> None:
18
+ ...
19
+ def begin_frontend_struct_for_on_external_tensor(self, arg0: ..., arg1: ..., arg2: DebugInfo) -> None:
20
+ ...
21
+ def begin_frontend_struct_for_on_snode(self, arg0: ..., arg1: ..., arg2: DebugInfo) -> None:
22
+ ...
23
+ def begin_frontend_while(self, arg0: ..., arg1: DebugInfo) -> None:
24
+ ...
25
+ def begin_func(self, arg0: str) -> None:
26
+ ...
27
+ def bit_vectorize(self) -> None:
28
+ ...
29
+ def block_dim(self, arg0: int) -> None:
30
+ ...
31
+ def create_assert_stmt(self, arg0: ..., arg1: str, arg2: list[...], arg3: DebugInfo) -> None:
32
+ ...
33
+ def create_kernel_exprgroup_return(self, arg0: ..., arg1: DebugInfo) -> None:
34
+ ...
35
+ def create_print(self, arg0: list[... | str], arg1: list[str | None], arg2: DebugInfo) -> None:
36
+ ...
37
+ def end_frontend_mesh_for(self) -> None:
38
+ ...
39
+ def end_frontend_range_for(self) -> None:
40
+ ...
41
+ def end_frontend_struct_for(self) -> None:
42
+ ...
43
+ def end_func(self, arg0: str) -> None:
44
+ ...
45
+ def expand_exprs(self, arg0: list[...]) -> list[...]:
46
+ ...
47
+ def expr_alloca(self, arg0: DebugInfo) -> ...:
48
+ ...
49
+ def expr_alloca_shared_array(self, arg0: list[int], arg1: DataType, arg2: DebugInfo) -> ...:
50
+ ...
51
+ def expr_assign(self, arg0: ..., arg1: ..., arg2: DebugInfo) -> None:
52
+ ...
53
+ def expr_snode_append(self, arg0: ..., arg1: ..., arg2: list[...]) -> ...:
54
+ ...
55
+ def expr_snode_get_addr(self, arg0: ..., arg1: ...) -> ...:
56
+ ...
57
+ def expr_snode_is_active(self, arg0: ..., arg1: ...) -> ...:
58
+ ...
59
+ def expr_snode_length(self, arg0: ..., arg1: ...) -> ...:
60
+ ...
61
+ def expr_subscript(self, arg0: ..., arg1: ..., arg2: DebugInfo) -> ...:
62
+ ...
63
+ def expr_var(self, arg0: ..., arg1: DebugInfo) -> ...:
64
+ ...
65
+ def insert_activate(self, arg0: ..., arg1: ..., arg2: DebugInfo) -> None:
66
+ ...
67
+ def insert_break_stmt(self, arg0: DebugInfo) -> None:
68
+ ...
69
+ def insert_continue_stmt(self, arg0: DebugInfo) -> None:
70
+ ...
71
+ def insert_deactivate(self, arg0: ..., arg1: ..., arg2: DebugInfo) -> None:
72
+ ...
73
+ def insert_expr_stmt(self, arg0: ...) -> None:
74
+ ...
75
+ def insert_external_func_call(self, arg0: int, arg1: str, arg2: str, arg3: str, arg4: ..., arg5: ..., arg6: DebugInfo) -> None:
76
+ ...
77
+ def insert_func_call(self, arg0: ..., arg1: ..., arg2: DebugInfo) -> ... | None:
78
+ ...
79
+ def insert_patch_idx_expr(self, arg0: DebugInfo) -> ...:
80
+ ...
81
+ def insert_snode_access_flag(self, arg0: SNodeAccessFlag, arg1: ...) -> None:
82
+ ...
83
+ def insert_thread_idx_expr(self) -> ...:
84
+ ...
85
+ def make_id_expr(self, arg0: str) -> ...:
86
+ ...
87
+ def make_matrix_expr(self, arg0: list[int], arg1: DataType, arg2: list[...], arg3: DebugInfo) -> ...:
88
+ ...
89
+ def make_texture_op_expr(self, arg0: ..., arg1: ..., arg2: ..., arg3: DebugInfo) -> ...:
90
+ ...
91
+ def mesh_index_conversion(self, arg0: ..., arg1: ..., arg2: ..., arg3: ..., arg4: DebugInfo) -> ...:
92
+ ...
93
+ def parallelize(self, arg0: int) -> None:
94
+ ...
95
+ def pop_scope(self) -> None:
96
+ ...
97
+ def reset_snode_access_flag(self) -> None:
98
+ ...
99
+ def sifakis_svd_f32(self, arg0: ..., arg1: int) -> tuple[..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]:
100
+ ...
101
+ def sifakis_svd_f64(self, arg0: ..., arg1: int) -> tuple[..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ..., ...]:
102
+ ...
103
+ def stop_grad(self, arg0: ...) -> None:
104
+ ...
105
+ def strictly_serialize(self) -> None:
106
+ ...
107
+ class AotModuleBuilder:
108
+ def add(self, arg0: str, arg1: ...) -> None:
109
+ ...
110
+ def add_field(self, arg0: str, arg1: ..., arg2: bool, arg3: DataType, arg4: list[int], arg5: int, arg6: int) -> None:
111
+ ...
112
+ def add_graph(self, arg0: str, arg1: ...) -> None:
113
+ ...
114
+ def add_kernel_template(self, arg0: str, arg1: str, arg2: ...) -> None:
115
+ ...
116
+ def dump(self, arg0: str, arg1: str) -> None:
117
+ ...
118
+ class Arch:
119
+ """
120
+ Members:
121
+
122
+ x64
123
+
124
+ arm64
125
+
126
+ js
127
+
128
+ cuda
129
+
130
+ metal
131
+
132
+ opengl
133
+
134
+ dx11
135
+
136
+ dx12
137
+
138
+ opencl
139
+
140
+ amdgpu
141
+
142
+ vulkan
143
+
144
+ gles
145
+ """
146
+ __members__: typing.ClassVar[dict[str, Arch]] # value = {'x64': <Arch.x64: 0>, 'arm64': <Arch.arm64: 1>, 'js': <Arch.js: 2>, 'cuda': <Arch.cuda: 3>, 'metal': <Arch.metal: 4>, 'opengl': <Arch.opengl: 5>, 'dx11': <Arch.dx11: 6>, 'dx12': <Arch.dx12: 7>, 'opencl': <Arch.opencl: 8>, 'amdgpu': <Arch.amdgpu: 9>, 'vulkan': <Arch.vulkan: 10>, 'gles': <Arch.gles: 11>}
147
+ amdgpu: typing.ClassVar[Arch] # value = <Arch.amdgpu: 9>
148
+ arm64: typing.ClassVar[Arch] # value = <Arch.arm64: 1>
149
+ cuda: typing.ClassVar[Arch] # value = <Arch.cuda: 3>
150
+ dx11: typing.ClassVar[Arch] # value = <Arch.dx11: 6>
151
+ dx12: typing.ClassVar[Arch] # value = <Arch.dx12: 7>
152
+ gles: typing.ClassVar[Arch] # value = <Arch.gles: 11>
153
+ js: typing.ClassVar[Arch] # value = <Arch.js: 2>
154
+ metal: typing.ClassVar[Arch] # value = <Arch.metal: 4>
155
+ opencl: typing.ClassVar[Arch] # value = <Arch.opencl: 8>
156
+ opengl: typing.ClassVar[Arch] # value = <Arch.opengl: 5>
157
+ vulkan: typing.ClassVar[Arch] # value = <Arch.vulkan: 10>
158
+ x64: typing.ClassVar[Arch] # value = <Arch.x64: 0>
159
+ def __eq__(self, other: typing.Any) -> bool:
160
+ ...
161
+ def __ge__(self, other: typing.Any) -> bool:
162
+ ...
163
+ def __getstate__(self) -> int:
164
+ ...
165
+ def __gt__(self, other: typing.Any) -> bool:
166
+ ...
167
+ def __hash__(self) -> int:
168
+ ...
169
+ def __index__(self) -> int:
170
+ ...
171
+ def __init__(self, value: int) -> None:
172
+ ...
173
+ def __int__(self) -> int:
174
+ ...
175
+ def __le__(self, other: typing.Any) -> bool:
176
+ ...
177
+ def __lt__(self, other: typing.Any) -> bool:
178
+ ...
179
+ def __ne__(self, other: typing.Any) -> bool:
180
+ ...
181
+ def __repr__(self) -> str:
182
+ ...
183
+ def __setstate__(self, state: int) -> None:
184
+ ...
185
+ def __str__(self) -> str:
186
+ ...
187
+ @property
188
+ def name(self) -> str:
189
+ ...
190
+ @property
191
+ def value(self) -> int:
192
+ ...
193
+ class Arg:
194
+ @typing.overload
195
+ def __init__(self, tag: ArgKind, name: str, dtype: DataType, field_dim: int, element_shape: list[int]) -> None:
196
+ ...
197
+ @typing.overload
198
+ def __init__(self, tag: ArgKind, name: str, channel_format: DataType, num_channels: int, shape: list[int]) -> None:
199
+ ...
200
+ def channel_format(self) -> DataType:
201
+ ...
202
+ def dtype(self) -> DataType:
203
+ ...
204
+ @property
205
+ def element_shape(self) -> list[int]:
206
+ ...
207
+ @property
208
+ def field_dim(self) -> int:
209
+ ...
210
+ @property
211
+ def name(self) -> str:
212
+ ...
213
+ @property
214
+ def num_channels(self) -> int:
215
+ ...
216
+ @property
217
+ def texture_shape(self) -> list[int]:
218
+ ...
219
+ class ArgKind:
220
+ """
221
+ Members:
222
+
223
+ SCALAR
224
+
225
+ NDARRAY
226
+
227
+ MATRIX
228
+
229
+ TEXTURE
230
+
231
+ RWTEXTURE
232
+ """
233
+ MATRIX: typing.ClassVar[ArgKind] # value = <ArgKind.MATRIX: 1>
234
+ NDARRAY: typing.ClassVar[ArgKind] # value = <ArgKind.NDARRAY: 2>
235
+ RWTEXTURE: typing.ClassVar[ArgKind] # value = <ArgKind.RWTEXTURE: 4>
236
+ SCALAR: typing.ClassVar[ArgKind] # value = <ArgKind.SCALAR: 0>
237
+ TEXTURE: typing.ClassVar[ArgKind] # value = <ArgKind.TEXTURE: 3>
238
+ __members__: typing.ClassVar[dict[str, ArgKind]] # value = {'SCALAR': <ArgKind.SCALAR: 0>, 'NDARRAY': <ArgKind.NDARRAY: 2>, 'MATRIX': <ArgKind.MATRIX: 1>, 'TEXTURE': <ArgKind.TEXTURE: 3>, 'RWTEXTURE': <ArgKind.RWTEXTURE: 4>}
239
+ def __eq__(self, other: typing.Any) -> bool:
240
+ ...
241
+ def __getstate__(self) -> int:
242
+ ...
243
+ def __hash__(self) -> int:
244
+ ...
245
+ def __index__(self) -> int:
246
+ ...
247
+ def __init__(self, value: int) -> None:
248
+ ...
249
+ def __int__(self) -> int:
250
+ ...
251
+ def __ne__(self, other: typing.Any) -> bool:
252
+ ...
253
+ def __repr__(self) -> str:
254
+ ...
255
+ def __setstate__(self, state: int) -> None:
256
+ ...
257
+ def __str__(self) -> str:
258
+ ...
259
+ @property
260
+ def name(self) -> str:
261
+ ...
262
+ @property
263
+ def value(self) -> int:
264
+ ...
265
+ class ArgPack:
266
+ def data_type(self) -> DataType:
267
+ ...
268
+ def device_allocation(self) -> DeviceAllocation:
269
+ ...
270
+ def device_allocation_ptr(self) -> int:
271
+ ...
272
+ def nelement(self) -> int:
273
+ ...
274
+ def set_arg_float(self, arg0: list[int], arg1: float) -> None:
275
+ ...
276
+ def set_arg_int(self, arg0: list[int], arg1: int) -> None:
277
+ ...
278
+ def set_arg_nested_argpack(self, arg0: int, arg1: ArgPack) -> None:
279
+ ...
280
+ def set_arg_uint(self, arg0: list[int], arg1: int) -> None:
281
+ ...
282
+ @property
283
+ def dtype(self) -> DataType:
284
+ ...
285
+ class AutodiffMode:
286
+ """
287
+ Members:
288
+
289
+ NONE
290
+
291
+ VALIDATION
292
+
293
+ FORWARD
294
+
295
+ REVERSE
296
+ """
297
+ FORWARD: typing.ClassVar[AutodiffMode] # value = <AutodiffMode.FORWARD: 0>
298
+ NONE: typing.ClassVar[AutodiffMode] # value = <AutodiffMode.NONE: 2>
299
+ REVERSE: typing.ClassVar[AutodiffMode] # value = <AutodiffMode.REVERSE: 1>
300
+ VALIDATION: typing.ClassVar[AutodiffMode] # value = <AutodiffMode.VALIDATION: 3>
301
+ __members__: typing.ClassVar[dict[str, AutodiffMode]] # value = {'NONE': <AutodiffMode.NONE: 2>, 'VALIDATION': <AutodiffMode.VALIDATION: 3>, 'FORWARD': <AutodiffMode.FORWARD: 0>, 'REVERSE': <AutodiffMode.REVERSE: 1>}
302
+ def __eq__(self, other: typing.Any) -> bool:
303
+ ...
304
+ def __ge__(self, other: typing.Any) -> bool:
305
+ ...
306
+ def __getstate__(self) -> int:
307
+ ...
308
+ def __gt__(self, other: typing.Any) -> bool:
309
+ ...
310
+ def __hash__(self) -> int:
311
+ ...
312
+ def __index__(self) -> int:
313
+ ...
314
+ def __init__(self, value: int) -> None:
315
+ ...
316
+ def __int__(self) -> int:
317
+ ...
318
+ def __le__(self, other: typing.Any) -> bool:
319
+ ...
320
+ def __lt__(self, other: typing.Any) -> bool:
321
+ ...
322
+ def __ne__(self, other: typing.Any) -> bool:
323
+ ...
324
+ def __repr__(self) -> str:
325
+ ...
326
+ def __setstate__(self, state: int) -> None:
327
+ ...
328
+ def __str__(self) -> str:
329
+ ...
330
+ @property
331
+ def name(self) -> str:
332
+ ...
333
+ @property
334
+ def value(self) -> int:
335
+ ...
336
+ class Axis:
337
+ def __init__(self, arg0: int) -> None:
338
+ ...
339
+ class Benchmark:
340
+ def initialize(self, arg0: Config) -> None:
341
+ ...
342
+ def run(self, arg0: int) -> float:
343
+ ...
344
+ def test(self) -> bool:
345
+ ...
346
+ class BinaryOpType:
347
+ """
348
+ Members:
349
+
350
+ mul
351
+
352
+ add
353
+
354
+ sub
355
+
356
+ truediv
357
+
358
+ floordiv
359
+
360
+ div
361
+
362
+ mod
363
+
364
+ max
365
+
366
+ min
367
+
368
+ bit_and
369
+
370
+ bit_or
371
+
372
+ bit_xor
373
+
374
+ bit_shl
375
+
376
+ bit_shr
377
+
378
+ bit_sar
379
+
380
+ cmp_lt
381
+
382
+ cmp_le
383
+
384
+ cmp_gt
385
+
386
+ cmp_ge
387
+
388
+ cmp_eq
389
+
390
+ cmp_ne
391
+
392
+ atan2
393
+
394
+ pow
395
+
396
+ undefined
397
+ """
398
+ __members__: typing.ClassVar[dict[str, BinaryOpType]] # value = {'mul': <BinaryOpType.mul: 0>, 'add': <BinaryOpType.add: 1>, 'sub': <BinaryOpType.sub: 2>, 'truediv': <BinaryOpType.truediv: 3>, 'floordiv': <BinaryOpType.floordiv: 4>, 'div': <BinaryOpType.div: 5>, 'mod': <BinaryOpType.mod: 6>, 'max': <BinaryOpType.max: 7>, 'min': <BinaryOpType.min: 8>, 'bit_and': <BinaryOpType.bit_and: 9>, 'bit_or': <BinaryOpType.bit_or: 10>, 'bit_xor': <BinaryOpType.bit_xor: 11>, 'bit_shl': <BinaryOpType.bit_shl: 12>, 'bit_shr': <BinaryOpType.bit_shr: 13>, 'bit_sar': <BinaryOpType.bit_sar: 14>, 'cmp_lt': <BinaryOpType.cmp_lt: 15>, 'cmp_le': <BinaryOpType.cmp_le: 16>, 'cmp_gt': <BinaryOpType.cmp_gt: 17>, 'cmp_ge': <BinaryOpType.cmp_ge: 18>, 'cmp_eq': <BinaryOpType.cmp_eq: 19>, 'cmp_ne': <BinaryOpType.cmp_ne: 20>, 'atan2': <BinaryOpType.atan2: 21>, 'pow': <BinaryOpType.pow: 22>, 'undefined': <BinaryOpType.undefined: 23>}
399
+ add: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.add: 1>
400
+ atan2: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.atan2: 21>
401
+ bit_and: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.bit_and: 9>
402
+ bit_or: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.bit_or: 10>
403
+ bit_sar: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.bit_sar: 14>
404
+ bit_shl: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.bit_shl: 12>
405
+ bit_shr: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.bit_shr: 13>
406
+ bit_xor: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.bit_xor: 11>
407
+ cmp_eq: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.cmp_eq: 19>
408
+ cmp_ge: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.cmp_ge: 18>
409
+ cmp_gt: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.cmp_gt: 17>
410
+ cmp_le: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.cmp_le: 16>
411
+ cmp_lt: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.cmp_lt: 15>
412
+ cmp_ne: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.cmp_ne: 20>
413
+ div: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.div: 5>
414
+ floordiv: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.floordiv: 4>
415
+ max: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.max: 7>
416
+ min: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.min: 8>
417
+ mod: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.mod: 6>
418
+ mul: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.mul: 0>
419
+ pow: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.pow: 22>
420
+ sub: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.sub: 2>
421
+ truediv: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.truediv: 3>
422
+ undefined: typing.ClassVar[BinaryOpType] # value = <BinaryOpType.undefined: 23>
423
+ def __eq__(self, other: typing.Any) -> bool:
424
+ ...
425
+ def __ge__(self, other: typing.Any) -> bool:
426
+ ...
427
+ def __getstate__(self) -> int:
428
+ ...
429
+ def __gt__(self, other: typing.Any) -> bool:
430
+ ...
431
+ def __hash__(self) -> int:
432
+ ...
433
+ def __index__(self) -> int:
434
+ ...
435
+ def __init__(self, value: int) -> None:
436
+ ...
437
+ def __int__(self) -> int:
438
+ ...
439
+ def __le__(self, other: typing.Any) -> bool:
440
+ ...
441
+ def __lt__(self, other: typing.Any) -> bool:
442
+ ...
443
+ def __ne__(self, other: typing.Any) -> bool:
444
+ ...
445
+ def __repr__(self) -> str:
446
+ ...
447
+ def __setstate__(self, state: int) -> None:
448
+ ...
449
+ def __str__(self) -> str:
450
+ ...
451
+ @property
452
+ def name(self) -> str:
453
+ ...
454
+ @property
455
+ def value(self) -> int:
456
+ ...
457
+ class BitStructType:
458
+ pass
459
+ class BitStructTypeBuilder:
460
+ def __init__(self, arg0: int) -> None:
461
+ ...
462
+ def add_member(self, arg0: Type) -> int:
463
+ ...
464
+ def begin_placing_shared_exponent(self) -> None:
465
+ ...
466
+ def build(self) -> BitStructType:
467
+ ...
468
+ def end_placing_shared_exponent(self) -> None:
469
+ ...
470
+ class BoundaryMode:
471
+ """
472
+ Members:
473
+
474
+ UNSAFE
475
+
476
+ CLAMP
477
+ """
478
+ CLAMP: typing.ClassVar[BoundaryMode] # value = <BoundaryMode.CLAMP: 1>
479
+ UNSAFE: typing.ClassVar[BoundaryMode] # value = <BoundaryMode.UNSAFE: 0>
480
+ __members__: typing.ClassVar[dict[str, BoundaryMode]] # value = {'UNSAFE': <BoundaryMode.UNSAFE: 0>, 'CLAMP': <BoundaryMode.CLAMP: 1>}
481
+ def __eq__(self, other: typing.Any) -> bool:
482
+ ...
483
+ def __ge__(self, other: typing.Any) -> bool:
484
+ ...
485
+ def __getstate__(self) -> int:
486
+ ...
487
+ def __gt__(self, other: typing.Any) -> bool:
488
+ ...
489
+ def __hash__(self) -> int:
490
+ ...
491
+ def __index__(self) -> int:
492
+ ...
493
+ def __init__(self, value: int) -> None:
494
+ ...
495
+ def __int__(self) -> int:
496
+ ...
497
+ def __le__(self, other: typing.Any) -> bool:
498
+ ...
499
+ def __lt__(self, other: typing.Any) -> bool:
500
+ ...
501
+ def __ne__(self, other: typing.Any) -> bool:
502
+ ...
503
+ def __repr__(self) -> str:
504
+ ...
505
+ def __setstate__(self, state: int) -> None:
506
+ ...
507
+ def __str__(self) -> str:
508
+ ...
509
+ @property
510
+ def name(self) -> str:
511
+ ...
512
+ @property
513
+ def value(self) -> int:
514
+ ...
515
+ class CGd:
516
+ def __init__(self, arg0: SparseMatrix, arg1: int, arg2: float, arg3: bool) -> None:
517
+ ...
518
+ def get_x(self) -> numpy.ndarray[numpy.float64[m, 1]]:
519
+ ...
520
+ def is_success(self) -> bool:
521
+ ...
522
+ def set_b(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> None:
523
+ ...
524
+ def set_b_ndarray(self, arg0: Program, arg1: Ndarray) -> None:
525
+ ...
526
+ def set_x(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> None:
527
+ ...
528
+ def set_x_ndarray(self, arg0: Program, arg1: Ndarray) -> None:
529
+ ...
530
+ def solve(self) -> None:
531
+ ...
532
+ class CGf:
533
+ def __init__(self, arg0: SparseMatrix, arg1: int, arg2: float, arg3: bool) -> None:
534
+ ...
535
+ def get_x(self) -> numpy.ndarray[numpy.float32[m, 1]]:
536
+ ...
537
+ def is_success(self) -> bool:
538
+ ...
539
+ def set_b(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> None:
540
+ ...
541
+ def set_b_ndarray(self, arg0: Program, arg1: Ndarray) -> None:
542
+ ...
543
+ def set_x(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> None:
544
+ ...
545
+ def set_x_ndarray(self, arg0: Program, arg1: Ndarray) -> None:
546
+ ...
547
+ def solve(self) -> None:
548
+ ...
549
+ class CUCG:
550
+ def solve(self, arg0: Program, arg1: Ndarray, arg2: Ndarray) -> None:
551
+ ...
552
+ class CompileConfig:
553
+ ad_stack_size: int
554
+ advanced_optimization: bool
555
+ allow_nv_shader_extension: bool
556
+ arch: Arch
557
+ auto_mesh_local_default_occupacy: int
558
+ cache_loop_invariant_global_vars: bool
559
+ cfg_optimization: bool
560
+ check_out_of_bound: bool
561
+ cpu_block_dim_adaptive: bool
562
+ cpu_max_num_threads: int
563
+ cuda_stack_limit: int
564
+ debug: bool
565
+ default_cpu_block_dim: int
566
+ default_fp: DataType
567
+ default_gpu_block_dim: int
568
+ default_ip: DataType
569
+ default_up: DataType
570
+ demote_dense_struct_fors: bool
571
+ demote_no_access_mesh_fors: bool
572
+ detect_read_only: bool
573
+ device_memory_GB: float
574
+ device_memory_fraction: float
575
+ experimental_auto_mesh_local: bool
576
+ fast_math: bool
577
+ flatten_if: bool
578
+ force_scalarize_matrix: bool
579
+ gpu_max_reg: int
580
+ half2_vectorization: bool
581
+ kernel_profiler: bool
582
+ lower_access: bool
583
+ make_block_local: bool
584
+ make_cpu_multithreading_loop: bool
585
+ make_mesh_block_local: bool
586
+ make_thread_local: bool
587
+ max_block_dim: int
588
+ mesh_localize_all_attr_mappings: bool
589
+ mesh_localize_from_end_mapping: bool
590
+ mesh_localize_to_end_mapping: bool
591
+ move_loop_invariant_outside_if: bool
592
+ num_compile_threads: int
593
+ offline_cache: bool
594
+ offline_cache_cleaning_factor: float
595
+ offline_cache_cleaning_policy: str
596
+ offline_cache_file_path: str
597
+ offline_cache_max_size_of_files: int
598
+ opt_level: int
599
+ optimize_mesh_reordered_mapping: bool
600
+ print_accessor_ir: bool
601
+ print_ir: bool
602
+ print_ir_dbg_info: bool
603
+ print_kernel_amdgcn: bool
604
+ print_kernel_asm: bool
605
+ print_kernel_llvm_ir: bool
606
+ print_kernel_llvm_ir_optimized: bool
607
+ print_preprocessed_ir: bool
608
+ print_struct_llvm_ir: bool
609
+ quant_opt_atomic_demotion: bool
610
+ quant_opt_store_fusion: bool
611
+ random_seed: int
612
+ real_matrix_scalarize: bool
613
+ saturating_grid_dim: int
614
+ simplify_after_lower_access: bool
615
+ simplify_before_lower_access: bool
616
+ timeline: bool
617
+ use_llvm: bool
618
+ verbose: bool
619
+ verbose_kernel_launches: bool
620
+ vk_api_version: str
621
+ def __init__(self) -> None:
622
+ ...
623
+ class CompiledGraph:
624
+ def jit_run(self, arg0: CompileConfig, arg1: dict) -> None:
625
+ ...
626
+ class CompiledKernelData:
627
+ pass
628
+ class Config:
629
+ pass
630
+ class ConvType:
631
+ """
632
+ Members:
633
+
634
+ l2g
635
+
636
+ l2r
637
+
638
+ g2r
639
+ """
640
+ __members__: typing.ClassVar[dict[str, ConvType]] # value = {'l2g': <ConvType.l2g: 0>, 'l2r': <ConvType.l2r: 1>, 'g2r': <ConvType.g2r: 2>}
641
+ g2r: typing.ClassVar[ConvType] # value = <ConvType.g2r: 2>
642
+ l2g: typing.ClassVar[ConvType] # value = <ConvType.l2g: 0>
643
+ l2r: typing.ClassVar[ConvType] # value = <ConvType.l2r: 1>
644
+ def __eq__(self, other: typing.Any) -> bool:
645
+ ...
646
+ def __ge__(self, other: typing.Any) -> bool:
647
+ ...
648
+ def __getstate__(self) -> int:
649
+ ...
650
+ def __gt__(self, other: typing.Any) -> bool:
651
+ ...
652
+ def __hash__(self) -> int:
653
+ ...
654
+ def __index__(self) -> int:
655
+ ...
656
+ def __init__(self, value: int) -> None:
657
+ ...
658
+ def __int__(self) -> int:
659
+ ...
660
+ def __le__(self, other: typing.Any) -> bool:
661
+ ...
662
+ def __lt__(self, other: typing.Any) -> bool:
663
+ ...
664
+ def __ne__(self, other: typing.Any) -> bool:
665
+ ...
666
+ def __repr__(self) -> str:
667
+ ...
668
+ def __setstate__(self, state: int) -> None:
669
+ ...
670
+ def __str__(self) -> str:
671
+ ...
672
+ @property
673
+ def name(self) -> str:
674
+ ...
675
+ @property
676
+ def value(self) -> int:
677
+ ...
678
+ class CuSparseMatrix(SparseMatrix):
679
+ def __add__(self, arg0: CuSparseMatrix) -> SparseMatrix:
680
+ ...
681
+ @typing.overload
682
+ def __init__(self, arg0: int, arg1: int, arg2: DataType) -> None:
683
+ ...
684
+ @typing.overload
685
+ def __init__(self, arg0: CuSparseMatrix) -> None:
686
+ ...
687
+ def __mul__(self, arg0: float) -> SparseMatrix:
688
+ ...
689
+ def __rmul__(self, arg0: float) -> SparseMatrix:
690
+ ...
691
+ def __sub__(self, arg0: CuSparseMatrix) -> SparseMatrix:
692
+ ...
693
+ def get_element(self, arg0: int, arg1: int) -> float:
694
+ ...
695
+ def matmul(self, arg0: CuSparseMatrix) -> SparseMatrix:
696
+ ...
697
+ def spmv(self, arg0: Program, arg1: Ndarray, arg2: Ndarray) -> None:
698
+ ...
699
+ def to_string(self) -> str:
700
+ ...
701
+ def transpose(self) -> SparseMatrix:
702
+ ...
703
+ class CuSparseSolver(SparseSolver):
704
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
705
+ ...
706
+ def compute(self, arg0: SparseMatrix) -> bool:
707
+ ...
708
+ def factorize(self, arg0: SparseMatrix) -> None:
709
+ ...
710
+ def info(self) -> bool:
711
+ ...
712
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
713
+ ...
714
+ class DataType:
715
+ def __call__(self, *args, **kwargs) -> None:
716
+ ...
717
+ def __eq__(self, arg0: DataType) -> bool:
718
+ ...
719
+ def __getstate__(self) -> tuple:
720
+ ...
721
+ def __hash__(self) -> int:
722
+ ...
723
+ def __init__(self, arg0: ...) -> None:
724
+ ...
725
+ def __setstate__(self, arg0: tuple) -> None:
726
+ ...
727
+ def __str__(self) -> str:
728
+ ...
729
+ def element_type(self) -> DataType:
730
+ ...
731
+ def get_ptr(self) -> ...:
732
+ ...
733
+ def ptr_removed(self) -> DataType:
734
+ ...
735
+ def shape(self) -> list[int]:
736
+ ...
737
+ def to_string(self) -> str:
738
+ ...
739
+ class DebugInfo:
740
+ src_loc: ...
741
+ tb: str
742
+ @typing.overload
743
+ def __init__(self) -> None:
744
+ ...
745
+ @typing.overload
746
+ def __init__(self, arg0: str) -> None:
747
+ ...
748
+ @typing.overload
749
+ def __init__(self) -> None:
750
+ ...
751
+ class DeviceAllocation:
752
+ def __init__(self, device: int, alloc_id: int) -> None:
753
+ ...
754
+ @property
755
+ def alloc_id(self) -> int:
756
+ ...
757
+ @property
758
+ def device(self) -> ...:
759
+ ...
760
+ class DeviceCapabilityConfig:
761
+ pass
762
+ class EigenSparseSolverfloat32LDLTAMD(SparseSolver):
763
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
764
+ ...
765
+ def compute(self, arg0: SparseMatrix) -> bool:
766
+ ...
767
+ def factorize(self, arg0: SparseMatrix) -> None:
768
+ ...
769
+ def info(self) -> bool:
770
+ ...
771
+ def solve(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
772
+ ...
773
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
774
+ ...
775
+ class EigenSparseSolverfloat32LDLTCOLAMD(SparseSolver):
776
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
777
+ ...
778
+ def compute(self, arg0: SparseMatrix) -> bool:
779
+ ...
780
+ def factorize(self, arg0: SparseMatrix) -> None:
781
+ ...
782
+ def info(self) -> bool:
783
+ ...
784
+ def solve(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
785
+ ...
786
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
787
+ ...
788
+ class EigenSparseSolverfloat32LLTAMD(SparseSolver):
789
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
790
+ ...
791
+ def compute(self, arg0: SparseMatrix) -> bool:
792
+ ...
793
+ def factorize(self, arg0: SparseMatrix) -> None:
794
+ ...
795
+ def info(self) -> bool:
796
+ ...
797
+ def solve(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
798
+ ...
799
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
800
+ ...
801
+ class EigenSparseSolverfloat32LLTCOLAMD(SparseSolver):
802
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
803
+ ...
804
+ def compute(self, arg0: SparseMatrix) -> bool:
805
+ ...
806
+ def factorize(self, arg0: SparseMatrix) -> None:
807
+ ...
808
+ def info(self) -> bool:
809
+ ...
810
+ def solve(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
811
+ ...
812
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
813
+ ...
814
+ class EigenSparseSolverfloat32LUAMD(SparseSolver):
815
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
816
+ ...
817
+ def compute(self, arg0: SparseMatrix) -> bool:
818
+ ...
819
+ def factorize(self, arg0: SparseMatrix) -> None:
820
+ ...
821
+ def info(self) -> bool:
822
+ ...
823
+ def solve(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
824
+ ...
825
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
826
+ ...
827
+ class EigenSparseSolverfloat32LUCOLAMD(SparseSolver):
828
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
829
+ ...
830
+ def compute(self, arg0: SparseMatrix) -> bool:
831
+ ...
832
+ def factorize(self, arg0: SparseMatrix) -> None:
833
+ ...
834
+ def info(self) -> bool:
835
+ ...
836
+ def solve(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
837
+ ...
838
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
839
+ ...
840
+ class EigenSparseSolverfloat64LDLTAMD(SparseSolver):
841
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
842
+ ...
843
+ def compute(self, arg0: SparseMatrix) -> bool:
844
+ ...
845
+ def factorize(self, arg0: SparseMatrix) -> None:
846
+ ...
847
+ def info(self) -> bool:
848
+ ...
849
+ def solve(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
850
+ ...
851
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
852
+ ...
853
+ class EigenSparseSolverfloat64LDLTCOLAMD(SparseSolver):
854
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
855
+ ...
856
+ def compute(self, arg0: SparseMatrix) -> bool:
857
+ ...
858
+ def factorize(self, arg0: SparseMatrix) -> None:
859
+ ...
860
+ def info(self) -> bool:
861
+ ...
862
+ def solve(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
863
+ ...
864
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
865
+ ...
866
+ class EigenSparseSolverfloat64LLTAMD(SparseSolver):
867
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
868
+ ...
869
+ def compute(self, arg0: SparseMatrix) -> bool:
870
+ ...
871
+ def factorize(self, arg0: SparseMatrix) -> None:
872
+ ...
873
+ def info(self) -> bool:
874
+ ...
875
+ def solve(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
876
+ ...
877
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
878
+ ...
879
+ class EigenSparseSolverfloat64LLTCOLAMD(SparseSolver):
880
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
881
+ ...
882
+ def compute(self, arg0: SparseMatrix) -> bool:
883
+ ...
884
+ def factorize(self, arg0: SparseMatrix) -> None:
885
+ ...
886
+ def info(self) -> bool:
887
+ ...
888
+ def solve(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
889
+ ...
890
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
891
+ ...
892
+ class EigenSparseSolverfloat64LUAMD(SparseSolver):
893
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
894
+ ...
895
+ def compute(self, arg0: SparseMatrix) -> bool:
896
+ ...
897
+ def factorize(self, arg0: SparseMatrix) -> None:
898
+ ...
899
+ def info(self) -> bool:
900
+ ...
901
+ def solve(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
902
+ ...
903
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
904
+ ...
905
+ class EigenSparseSolverfloat64LUCOLAMD(SparseSolver):
906
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
907
+ ...
908
+ def compute(self, arg0: SparseMatrix) -> bool:
909
+ ...
910
+ def factorize(self, arg0: SparseMatrix) -> None:
911
+ ...
912
+ def info(self) -> bool:
913
+ ...
914
+ def solve(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
915
+ ...
916
+ def solve_rf(self, arg0: Program, arg1: SparseMatrix, arg2: Ndarray, arg3: Ndarray) -> None:
917
+ ...
918
+ class Expr:
919
+ def get_dbg_info(self) -> DebugInfo:
920
+ ...
921
+ def get_dt(self) -> ...:
922
+ ...
923
+ def get_dynamic_index_stride(self) -> int:
924
+ ...
925
+ def get_dynamic_indexable(self) -> bool:
926
+ ...
927
+ def get_expr_name(self) -> str:
928
+ ...
929
+ def get_raw_address(self) -> int:
930
+ ...
931
+ def get_ret_type(self) -> DataType:
932
+ ...
933
+ def get_rvalue_type(self) -> DataType:
934
+ ...
935
+ def get_shape(self) -> list[int] | None:
936
+ ...
937
+ def get_underlying_ptr_address(self) -> int:
938
+ ...
939
+ def is_external_tensor_expr(self) -> bool:
940
+ ...
941
+ def is_index_expr(self) -> bool:
942
+ ...
943
+ def is_lvalue(self) -> bool:
944
+ ...
945
+ def is_primal(self) -> bool:
946
+ ...
947
+ def is_struct(self) -> bool:
948
+ ...
949
+ def is_tensor(self) -> bool:
950
+ ...
951
+ def set_adjoint(self, arg0: Expr) -> None:
952
+ ...
953
+ def set_adjoint_checkbit(self, arg0: Expr) -> None:
954
+ ...
955
+ def set_dbg_info(self, arg0: DebugInfo) -> None:
956
+ ...
957
+ def set_dual(self, arg0: Expr) -> None:
958
+ ...
959
+ def set_dynamic_index_stride(self, arg0: int) -> None:
960
+ ...
961
+ def set_grad_type(self, arg0: SNodeGradType) -> None:
962
+ ...
963
+ def set_name(self, arg0: str) -> None:
964
+ ...
965
+ def snode(self) -> SNode:
966
+ ...
967
+ def type_check(self, arg0: CompileConfig) -> None:
968
+ ...
969
+ class ExprGroup:
970
+ def __init__(self) -> None:
971
+ ...
972
+ def push_back(self, arg0: Expr) -> None:
973
+ ...
974
+ def size(self) -> int:
975
+ ...
976
+ class Extension:
977
+ """
978
+ Members:
979
+
980
+ sparse
981
+
982
+ quant
983
+
984
+ mesh
985
+
986
+ quant_basic
987
+
988
+ data64
989
+
990
+ adstack
991
+
992
+ bls
993
+
994
+ assertion
995
+
996
+ extfunc
997
+ """
998
+ __members__: typing.ClassVar[dict[str, Extension]] # value = {'sparse': <Extension.sparse: 0>, 'quant': <Extension.quant: 1>, 'mesh': <Extension.mesh: 2>, 'quant_basic': <Extension.quant_basic: 3>, 'data64': <Extension.data64: 4>, 'adstack': <Extension.adstack: 5>, 'bls': <Extension.bls: 6>, 'assertion': <Extension.assertion: 7>, 'extfunc': <Extension.extfunc: 8>}
999
+ adstack: typing.ClassVar[Extension] # value = <Extension.adstack: 5>
1000
+ assertion: typing.ClassVar[Extension] # value = <Extension.assertion: 7>
1001
+ bls: typing.ClassVar[Extension] # value = <Extension.bls: 6>
1002
+ data64: typing.ClassVar[Extension] # value = <Extension.data64: 4>
1003
+ extfunc: typing.ClassVar[Extension] # value = <Extension.extfunc: 8>
1004
+ mesh: typing.ClassVar[Extension] # value = <Extension.mesh: 2>
1005
+ quant: typing.ClassVar[Extension] # value = <Extension.quant: 1>
1006
+ quant_basic: typing.ClassVar[Extension] # value = <Extension.quant_basic: 3>
1007
+ sparse: typing.ClassVar[Extension] # value = <Extension.sparse: 0>
1008
+ def __eq__(self, other: typing.Any) -> bool:
1009
+ ...
1010
+ def __ge__(self, other: typing.Any) -> bool:
1011
+ ...
1012
+ def __getstate__(self) -> int:
1013
+ ...
1014
+ def __gt__(self, other: typing.Any) -> bool:
1015
+ ...
1016
+ def __hash__(self) -> int:
1017
+ ...
1018
+ def __index__(self) -> int:
1019
+ ...
1020
+ def __init__(self, value: int) -> None:
1021
+ ...
1022
+ def __int__(self) -> int:
1023
+ ...
1024
+ def __le__(self, other: typing.Any) -> bool:
1025
+ ...
1026
+ def __lt__(self, other: typing.Any) -> bool:
1027
+ ...
1028
+ def __ne__(self, other: typing.Any) -> bool:
1029
+ ...
1030
+ def __repr__(self) -> str:
1031
+ ...
1032
+ def __setstate__(self, state: int) -> None:
1033
+ ...
1034
+ def __str__(self) -> str:
1035
+ ...
1036
+ @property
1037
+ def name(self) -> str:
1038
+ ...
1039
+ @property
1040
+ def value(self) -> int:
1041
+ ...
1042
+ class Format:
1043
+ """
1044
+ Members:
1045
+
1046
+ unknown
1047
+
1048
+ r8
1049
+
1050
+ rg8
1051
+
1052
+ rgba8
1053
+
1054
+ rgba8srgb
1055
+
1056
+ bgra8
1057
+
1058
+ bgra8srgb
1059
+
1060
+ r8u
1061
+
1062
+ rg8u
1063
+
1064
+ rgba8u
1065
+
1066
+ r8i
1067
+
1068
+ rg8i
1069
+
1070
+ rgba8i
1071
+
1072
+ r16
1073
+
1074
+ rg16
1075
+
1076
+ rgb16
1077
+
1078
+ rgba16
1079
+
1080
+ r16u
1081
+
1082
+ rg16u
1083
+
1084
+ rgb16u
1085
+
1086
+ rgba16u
1087
+
1088
+ r16i
1089
+
1090
+ rg16i
1091
+
1092
+ rgb16i
1093
+
1094
+ rgba16i
1095
+
1096
+ r16f
1097
+
1098
+ rg16f
1099
+
1100
+ rgb16f
1101
+
1102
+ rgba16f
1103
+
1104
+ r32u
1105
+
1106
+ rg32u
1107
+
1108
+ rgb32u
1109
+
1110
+ rgba32u
1111
+
1112
+ r32i
1113
+
1114
+ rg32i
1115
+
1116
+ rgb32i
1117
+
1118
+ rgba32i
1119
+
1120
+ r32f
1121
+
1122
+ rg32f
1123
+
1124
+ rgb32f
1125
+
1126
+ rgba32f
1127
+
1128
+ depth16
1129
+
1130
+ depth24stencil8
1131
+
1132
+ depth32f
1133
+ """
1134
+ __members__: typing.ClassVar[dict[str, Format]] # value = {'unknown': <Format.unknown: 0>, 'r8': <Format.r8: 1>, 'rg8': <Format.rg8: 2>, 'rgba8': <Format.rgba8: 3>, 'rgba8srgb': <Format.rgba8srgb: 4>, 'bgra8': <Format.bgra8: 5>, 'bgra8srgb': <Format.bgra8srgb: 6>, 'r8u': <Format.r8u: 7>, 'rg8u': <Format.rg8u: 8>, 'rgba8u': <Format.rgba8u: 9>, 'r8i': <Format.r8i: 10>, 'rg8i': <Format.rg8i: 11>, 'rgba8i': <Format.rgba8i: 12>, 'r16': <Format.r16: 13>, 'rg16': <Format.rg16: 14>, 'rgb16': <Format.rgb16: 15>, 'rgba16': <Format.rgba16: 16>, 'r16u': <Format.r16u: 17>, 'rg16u': <Format.rg16u: 18>, 'rgb16u': <Format.rgb16u: 19>, 'rgba16u': <Format.rgba16u: 20>, 'r16i': <Format.r16i: 21>, 'rg16i': <Format.rg16i: 22>, 'rgb16i': <Format.rgb16i: 23>, 'rgba16i': <Format.rgba16i: 24>, 'r16f': <Format.r16f: 25>, 'rg16f': <Format.rg16f: 26>, 'rgb16f': <Format.rgb16f: 27>, 'rgba16f': <Format.rgba16f: 28>, 'r32u': <Format.r32u: 29>, 'rg32u': <Format.rg32u: 30>, 'rgb32u': <Format.rgb32u: 31>, 'rgba32u': <Format.rgba32u: 32>, 'r32i': <Format.r32i: 33>, 'rg32i': <Format.rg32i: 34>, 'rgb32i': <Format.rgb32i: 35>, 'rgba32i': <Format.rgba32i: 36>, 'r32f': <Format.r32f: 37>, 'rg32f': <Format.rg32f: 38>, 'rgb32f': <Format.rgb32f: 39>, 'rgba32f': <Format.rgba32f: 40>, 'depth16': <Format.depth16: 41>, 'depth24stencil8': <Format.depth24stencil8: 42>, 'depth32f': <Format.depth32f: 43>}
1135
+ bgra8: typing.ClassVar[Format] # value = <Format.bgra8: 5>
1136
+ bgra8srgb: typing.ClassVar[Format] # value = <Format.bgra8srgb: 6>
1137
+ depth16: typing.ClassVar[Format] # value = <Format.depth16: 41>
1138
+ depth24stencil8: typing.ClassVar[Format] # value = <Format.depth24stencil8: 42>
1139
+ depth32f: typing.ClassVar[Format] # value = <Format.depth32f: 43>
1140
+ r16: typing.ClassVar[Format] # value = <Format.r16: 13>
1141
+ r16f: typing.ClassVar[Format] # value = <Format.r16f: 25>
1142
+ r16i: typing.ClassVar[Format] # value = <Format.r16i: 21>
1143
+ r16u: typing.ClassVar[Format] # value = <Format.r16u: 17>
1144
+ r32f: typing.ClassVar[Format] # value = <Format.r32f: 37>
1145
+ r32i: typing.ClassVar[Format] # value = <Format.r32i: 33>
1146
+ r32u: typing.ClassVar[Format] # value = <Format.r32u: 29>
1147
+ r8: typing.ClassVar[Format] # value = <Format.r8: 1>
1148
+ r8i: typing.ClassVar[Format] # value = <Format.r8i: 10>
1149
+ r8u: typing.ClassVar[Format] # value = <Format.r8u: 7>
1150
+ rg16: typing.ClassVar[Format] # value = <Format.rg16: 14>
1151
+ rg16f: typing.ClassVar[Format] # value = <Format.rg16f: 26>
1152
+ rg16i: typing.ClassVar[Format] # value = <Format.rg16i: 22>
1153
+ rg16u: typing.ClassVar[Format] # value = <Format.rg16u: 18>
1154
+ rg32f: typing.ClassVar[Format] # value = <Format.rg32f: 38>
1155
+ rg32i: typing.ClassVar[Format] # value = <Format.rg32i: 34>
1156
+ rg32u: typing.ClassVar[Format] # value = <Format.rg32u: 30>
1157
+ rg8: typing.ClassVar[Format] # value = <Format.rg8: 2>
1158
+ rg8i: typing.ClassVar[Format] # value = <Format.rg8i: 11>
1159
+ rg8u: typing.ClassVar[Format] # value = <Format.rg8u: 8>
1160
+ rgb16: typing.ClassVar[Format] # value = <Format.rgb16: 15>
1161
+ rgb16f: typing.ClassVar[Format] # value = <Format.rgb16f: 27>
1162
+ rgb16i: typing.ClassVar[Format] # value = <Format.rgb16i: 23>
1163
+ rgb16u: typing.ClassVar[Format] # value = <Format.rgb16u: 19>
1164
+ rgb32f: typing.ClassVar[Format] # value = <Format.rgb32f: 39>
1165
+ rgb32i: typing.ClassVar[Format] # value = <Format.rgb32i: 35>
1166
+ rgb32u: typing.ClassVar[Format] # value = <Format.rgb32u: 31>
1167
+ rgba16: typing.ClassVar[Format] # value = <Format.rgba16: 16>
1168
+ rgba16f: typing.ClassVar[Format] # value = <Format.rgba16f: 28>
1169
+ rgba16i: typing.ClassVar[Format] # value = <Format.rgba16i: 24>
1170
+ rgba16u: typing.ClassVar[Format] # value = <Format.rgba16u: 20>
1171
+ rgba32f: typing.ClassVar[Format] # value = <Format.rgba32f: 40>
1172
+ rgba32i: typing.ClassVar[Format] # value = <Format.rgba32i: 36>
1173
+ rgba32u: typing.ClassVar[Format] # value = <Format.rgba32u: 32>
1174
+ rgba8: typing.ClassVar[Format] # value = <Format.rgba8: 3>
1175
+ rgba8i: typing.ClassVar[Format] # value = <Format.rgba8i: 12>
1176
+ rgba8srgb: typing.ClassVar[Format] # value = <Format.rgba8srgb: 4>
1177
+ rgba8u: typing.ClassVar[Format] # value = <Format.rgba8u: 9>
1178
+ unknown: typing.ClassVar[Format] # value = <Format.unknown: 0>
1179
+ def __eq__(self, other: typing.Any) -> bool:
1180
+ ...
1181
+ def __getstate__(self) -> int:
1182
+ ...
1183
+ def __hash__(self) -> int:
1184
+ ...
1185
+ def __index__(self) -> int:
1186
+ ...
1187
+ def __init__(self, value: int) -> None:
1188
+ ...
1189
+ def __int__(self) -> int:
1190
+ ...
1191
+ def __ne__(self, other: typing.Any) -> bool:
1192
+ ...
1193
+ def __repr__(self) -> str:
1194
+ ...
1195
+ def __setstate__(self, state: int) -> None:
1196
+ ...
1197
+ def __str__(self) -> str:
1198
+ ...
1199
+ @property
1200
+ def name(self) -> str:
1201
+ ...
1202
+ @property
1203
+ def value(self) -> int:
1204
+ ...
1205
+ class Function:
1206
+ def ast_builder(self) -> ASTBuilder:
1207
+ ...
1208
+ def finalize_params(self) -> None:
1209
+ ...
1210
+ def finalize_rets(self) -> None:
1211
+ ...
1212
+ def insert_arr_param(self, arg0: DataType, arg1: int, arg2: list[int], arg3: str) -> list[int]:
1213
+ ...
1214
+ def insert_ndarray_param(self, arg0: DataType, arg1: int, arg2: str, arg3: bool) -> list[int]:
1215
+ ...
1216
+ def insert_pointer_param(self, arg0: DataType, arg1: str) -> list[int]:
1217
+ ...
1218
+ def insert_ret(self, arg0: DataType) -> int:
1219
+ ...
1220
+ def insert_rw_texture_param(self, arg0: int, arg1: Format, arg2: str) -> list[int]:
1221
+ ...
1222
+ def insert_scalar_param(self, arg0: DataType, arg1: str) -> list[int]:
1223
+ ...
1224
+ def insert_texture_param(self, arg0: int, arg1: str) -> list[int]:
1225
+ ...
1226
+ def set_function_body(self, arg0: typing.Callable[[], None]) -> None:
1227
+ ...
1228
+ class FunctionKey:
1229
+ def __init__(self, arg0: str, arg1: int, arg2: int) -> None:
1230
+ ...
1231
+ @property
1232
+ def instance_id(self) -> int:
1233
+ ...
1234
+ class GraphBuilder:
1235
+ def __init__(self) -> None:
1236
+ ...
1237
+ def compile(self) -> ...:
1238
+ ...
1239
+ def create_sequential(self) -> Sequential:
1240
+ ...
1241
+ def dispatch(self, arg0: ..., arg1: list[Arg]) -> None:
1242
+ ...
1243
+ def seq(self) -> Sequential:
1244
+ ...
1245
+ class HackedSignalRegister:
1246
+ def __init__(self) -> None:
1247
+ ...
1248
+ class InternalOp:
1249
+ block_barrier: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1250
+ block_barrier_and_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1251
+ block_barrier_count_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1252
+ block_barrier_or_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1253
+ composite_extract_0: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1254
+ composite_extract_1: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1255
+ composite_extract_2: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1256
+ composite_extract_3: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1257
+ cuda_active_mask: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1258
+ cuda_all_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1259
+ cuda_any_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1260
+ cuda_ballot_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1261
+ cuda_match_all_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1262
+ cuda_match_any_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1263
+ cuda_shfl_down_sync_f32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1264
+ cuda_shfl_down_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1265
+ cuda_shfl_sync_f32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1266
+ cuda_shfl_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1267
+ cuda_shfl_up_sync_f32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1268
+ cuda_shfl_up_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1269
+ cuda_shfl_xor_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1270
+ cuda_uni_sync_i32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1271
+ do_nothing: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1272
+ grid_memfence: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1273
+ insert_triplet_f32: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1274
+ insert_triplet_f64: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1275
+ linear_thread_idx: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1276
+ localInvocationId: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1277
+ refresh_counter: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1278
+ subgroupAdd: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1279
+ subgroupAnd: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1280
+ subgroupBarrier: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1281
+ subgroupBroadcast: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1282
+ subgroupElect: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1283
+ subgroupInclusiveAdd: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1284
+ subgroupInclusiveAnd: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1285
+ subgroupInclusiveMax: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1286
+ subgroupInclusiveMin: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1287
+ subgroupInclusiveMul: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1288
+ subgroupInclusiveOr: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1289
+ subgroupInclusiveXor: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1290
+ subgroupInvocationId: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1291
+ subgroupMax: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1292
+ subgroupMemoryBarrier: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1293
+ subgroupMin: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1294
+ subgroupMul: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1295
+ subgroupOr: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1296
+ subgroupSize: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1297
+ subgroupXor: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1298
+ test_active_mask: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1299
+ test_internal_func_args: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1300
+ test_list_manager: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1301
+ test_node_allocator: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1302
+ test_node_allocator_gc_cpu: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1303
+ test_shfl: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1304
+ test_stack: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1305
+ vkGlobalThreadIdx: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1306
+ warp_barrier: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1307
+ workgroupBarrier: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1308
+ workgroupMemoryBarrier: typing.ClassVar[Operation] # value = <taichi._lib.core.taichi_python.Operation object>
1309
+ class Kernel:
1310
+ def ast_builder(self) -> ASTBuilder:
1311
+ ...
1312
+ def finalize_params(self) -> None:
1313
+ ...
1314
+ def finalize_rets(self) -> None:
1315
+ ...
1316
+ def insert_argpack_param_and_push(self, arg0: str) -> list[int]:
1317
+ ...
1318
+ def insert_arr_param(self, arg0: DataType, arg1: int, arg2: list[int], arg3: str) -> list[int]:
1319
+ ...
1320
+ def insert_ndarray_param(self, arg0: DataType, arg1: int, arg2: str, arg3: bool) -> list[int]:
1321
+ ...
1322
+ def insert_pointer_param(self, arg0: DataType, arg1: str) -> list[int]:
1323
+ ...
1324
+ def insert_ret(self, arg0: DataType) -> int:
1325
+ ...
1326
+ def insert_rw_texture_param(self, arg0: int, arg1: Format, arg2: str) -> list[int]:
1327
+ ...
1328
+ def insert_scalar_param(self, arg0: DataType, arg1: str) -> list[int]:
1329
+ ...
1330
+ def insert_texture_param(self, arg0: int, arg1: str) -> list[int]:
1331
+ ...
1332
+ def make_launch_context(self) -> ...:
1333
+ ...
1334
+ def no_activate(self, arg0: SNode) -> None:
1335
+ ...
1336
+ def pop_argpack_stack(self) -> None:
1337
+ ...
1338
+ class KernelLaunchContext:
1339
+ def get_struct_ret_float(self, arg0: list[int]) -> float:
1340
+ ...
1341
+ def get_struct_ret_int(self, arg0: list[int]) -> int:
1342
+ ...
1343
+ def get_struct_ret_uint(self, arg0: list[int]) -> int:
1344
+ ...
1345
+ def set_arg_argpack(self, arg0: list[int], arg1: ArgPack) -> None:
1346
+ ...
1347
+ def set_arg_external_array_with_shape(self, arg0: list[int], arg1: int, arg2: int, arg3: list[int], arg4: int) -> None:
1348
+ ...
1349
+ def set_arg_float(self, arg0: list[int], arg1: float) -> None:
1350
+ ...
1351
+ def set_arg_int(self, arg0: list[int], arg1: int) -> None:
1352
+ ...
1353
+ def set_arg_ndarray(self, arg0: list[int], arg1: Ndarray) -> None:
1354
+ ...
1355
+ def set_arg_ndarray_with_grad(self, arg0: list[int], arg1: Ndarray, arg2: Ndarray) -> None:
1356
+ ...
1357
+ def set_arg_rw_texture(self, arg0: list[int], arg1: Texture) -> None:
1358
+ ...
1359
+ def set_arg_texture(self, arg0: list[int], arg1: Texture) -> None:
1360
+ ...
1361
+ def set_arg_uint(self, arg0: list[int], arg1: int) -> None:
1362
+ ...
1363
+ def set_struct_arg_float(self, arg0: list[int], arg1: float) -> None:
1364
+ ...
1365
+ def set_struct_arg_int(self, arg0: list[int], arg1: int) -> None:
1366
+ ...
1367
+ def set_struct_arg_uint(self, arg0: list[int], arg1: int) -> None:
1368
+ ...
1369
+ class KernelProfileTracedRecord:
1370
+ active_blocks_per_multiprocessor: int
1371
+ base_time: float
1372
+ block_size: int
1373
+ grid_size: int
1374
+ kernel_time: float
1375
+ metric_values: list[float]
1376
+ name: str
1377
+ register_per_thread: int
1378
+ shared_mem_per_block: int
1379
+ class KernelProfilerQueryResult:
1380
+ avg: float
1381
+ counter: int
1382
+ max: float
1383
+ min: float
1384
+ class Layout:
1385
+ """
1386
+ Members:
1387
+
1388
+ AOS
1389
+
1390
+ SOA
1391
+
1392
+ NULL
1393
+ """
1394
+ AOS: typing.ClassVar[Layout] # value = <Layout.AOS: 0>
1395
+ NULL: typing.ClassVar[Layout] # value = <Layout.NULL: 2>
1396
+ SOA: typing.ClassVar[Layout] # value = <Layout.SOA: 1>
1397
+ __members__: typing.ClassVar[dict[str, Layout]] # value = {'AOS': <Layout.AOS: 0>, 'SOA': <Layout.SOA: 1>, 'NULL': <Layout.NULL: 2>}
1398
+ def __eq__(self, other: typing.Any) -> bool:
1399
+ ...
1400
+ def __ge__(self, other: typing.Any) -> bool:
1401
+ ...
1402
+ def __getstate__(self) -> int:
1403
+ ...
1404
+ def __gt__(self, other: typing.Any) -> bool:
1405
+ ...
1406
+ def __hash__(self) -> int:
1407
+ ...
1408
+ def __index__(self) -> int:
1409
+ ...
1410
+ def __init__(self, value: int) -> None:
1411
+ ...
1412
+ def __int__(self) -> int:
1413
+ ...
1414
+ def __le__(self, other: typing.Any) -> bool:
1415
+ ...
1416
+ def __lt__(self, other: typing.Any) -> bool:
1417
+ ...
1418
+ def __ne__(self, other: typing.Any) -> bool:
1419
+ ...
1420
+ def __repr__(self) -> str:
1421
+ ...
1422
+ def __setstate__(self, state: int) -> None:
1423
+ ...
1424
+ def __str__(self) -> str:
1425
+ ...
1426
+ @property
1427
+ def name(self) -> str:
1428
+ ...
1429
+ @property
1430
+ def value(self) -> int:
1431
+ ...
1432
+ class Mesh:
1433
+ pass
1434
+ class MeshElementType:
1435
+ """
1436
+ Members:
1437
+
1438
+ Vertex
1439
+
1440
+ Edge
1441
+
1442
+ Face
1443
+
1444
+ Cell
1445
+ """
1446
+ Cell: typing.ClassVar[MeshElementType] # value = <MeshElementType.Cell: 3>
1447
+ Edge: typing.ClassVar[MeshElementType] # value = <MeshElementType.Edge: 1>
1448
+ Face: typing.ClassVar[MeshElementType] # value = <MeshElementType.Face: 2>
1449
+ Vertex: typing.ClassVar[MeshElementType] # value = <MeshElementType.Vertex: 0>
1450
+ __members__: typing.ClassVar[dict[str, MeshElementType]] # value = {'Vertex': <MeshElementType.Vertex: 0>, 'Edge': <MeshElementType.Edge: 1>, 'Face': <MeshElementType.Face: 2>, 'Cell': <MeshElementType.Cell: 3>}
1451
+ def __eq__(self, other: typing.Any) -> bool:
1452
+ ...
1453
+ def __ge__(self, other: typing.Any) -> bool:
1454
+ ...
1455
+ def __getstate__(self) -> int:
1456
+ ...
1457
+ def __gt__(self, other: typing.Any) -> bool:
1458
+ ...
1459
+ def __hash__(self) -> int:
1460
+ ...
1461
+ def __index__(self) -> int:
1462
+ ...
1463
+ def __init__(self, value: int) -> None:
1464
+ ...
1465
+ def __int__(self) -> int:
1466
+ ...
1467
+ def __le__(self, other: typing.Any) -> bool:
1468
+ ...
1469
+ def __lt__(self, other: typing.Any) -> bool:
1470
+ ...
1471
+ def __ne__(self, other: typing.Any) -> bool:
1472
+ ...
1473
+ def __repr__(self) -> str:
1474
+ ...
1475
+ def __setstate__(self, state: int) -> None:
1476
+ ...
1477
+ def __str__(self) -> str:
1478
+ ...
1479
+ @property
1480
+ def name(self) -> str:
1481
+ ...
1482
+ @property
1483
+ def value(self) -> int:
1484
+ ...
1485
+ class MeshPtr:
1486
+ pass
1487
+ class MeshRelationType:
1488
+ """
1489
+ Members:
1490
+
1491
+ VV
1492
+
1493
+ VE
1494
+
1495
+ VF
1496
+
1497
+ VC
1498
+
1499
+ EV
1500
+
1501
+ EE
1502
+
1503
+ EF
1504
+
1505
+ EC
1506
+
1507
+ FV
1508
+
1509
+ FE
1510
+
1511
+ FF
1512
+
1513
+ FC
1514
+
1515
+ CV
1516
+
1517
+ CE
1518
+
1519
+ CF
1520
+
1521
+ CC
1522
+ """
1523
+ CC: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.CC: 15>
1524
+ CE: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.CE: 13>
1525
+ CF: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.CF: 14>
1526
+ CV: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.CV: 12>
1527
+ EC: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.EC: 7>
1528
+ EE: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.EE: 5>
1529
+ EF: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.EF: 6>
1530
+ EV: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.EV: 4>
1531
+ FC: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.FC: 11>
1532
+ FE: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.FE: 9>
1533
+ FF: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.FF: 10>
1534
+ FV: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.FV: 8>
1535
+ VC: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.VC: 3>
1536
+ VE: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.VE: 1>
1537
+ VF: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.VF: 2>
1538
+ VV: typing.ClassVar[MeshRelationType] # value = <MeshRelationType.VV: 0>
1539
+ __members__: typing.ClassVar[dict[str, MeshRelationType]] # value = {'VV': <MeshRelationType.VV: 0>, 'VE': <MeshRelationType.VE: 1>, 'VF': <MeshRelationType.VF: 2>, 'VC': <MeshRelationType.VC: 3>, 'EV': <MeshRelationType.EV: 4>, 'EE': <MeshRelationType.EE: 5>, 'EF': <MeshRelationType.EF: 6>, 'EC': <MeshRelationType.EC: 7>, 'FV': <MeshRelationType.FV: 8>, 'FE': <MeshRelationType.FE: 9>, 'FF': <MeshRelationType.FF: 10>, 'FC': <MeshRelationType.FC: 11>, 'CV': <MeshRelationType.CV: 12>, 'CE': <MeshRelationType.CE: 13>, 'CF': <MeshRelationType.CF: 14>, 'CC': <MeshRelationType.CC: 15>}
1540
+ def __eq__(self, other: typing.Any) -> bool:
1541
+ ...
1542
+ def __ge__(self, other: typing.Any) -> bool:
1543
+ ...
1544
+ def __getstate__(self) -> int:
1545
+ ...
1546
+ def __gt__(self, other: typing.Any) -> bool:
1547
+ ...
1548
+ def __hash__(self) -> int:
1549
+ ...
1550
+ def __index__(self) -> int:
1551
+ ...
1552
+ def __init__(self, value: int) -> None:
1553
+ ...
1554
+ def __int__(self) -> int:
1555
+ ...
1556
+ def __le__(self, other: typing.Any) -> bool:
1557
+ ...
1558
+ def __lt__(self, other: typing.Any) -> bool:
1559
+ ...
1560
+ def __ne__(self, other: typing.Any) -> bool:
1561
+ ...
1562
+ def __repr__(self) -> str:
1563
+ ...
1564
+ def __setstate__(self, state: int) -> None:
1565
+ ...
1566
+ def __str__(self) -> str:
1567
+ ...
1568
+ @property
1569
+ def name(self) -> str:
1570
+ ...
1571
+ @property
1572
+ def value(self) -> int:
1573
+ ...
1574
+ class MeshTopology:
1575
+ """
1576
+ Members:
1577
+
1578
+ Triangle
1579
+
1580
+ Tetrahedron
1581
+ """
1582
+ Tetrahedron: typing.ClassVar[MeshTopology] # value = <MeshTopology.Tetrahedron: 4>
1583
+ Triangle: typing.ClassVar[MeshTopology] # value = <MeshTopology.Triangle: 3>
1584
+ __members__: typing.ClassVar[dict[str, MeshTopology]] # value = {'Triangle': <MeshTopology.Triangle: 3>, 'Tetrahedron': <MeshTopology.Tetrahedron: 4>}
1585
+ def __eq__(self, other: typing.Any) -> bool:
1586
+ ...
1587
+ def __ge__(self, other: typing.Any) -> bool:
1588
+ ...
1589
+ def __getstate__(self) -> int:
1590
+ ...
1591
+ def __gt__(self, other: typing.Any) -> bool:
1592
+ ...
1593
+ def __hash__(self) -> int:
1594
+ ...
1595
+ def __index__(self) -> int:
1596
+ ...
1597
+ def __init__(self, value: int) -> None:
1598
+ ...
1599
+ def __int__(self) -> int:
1600
+ ...
1601
+ def __le__(self, other: typing.Any) -> bool:
1602
+ ...
1603
+ def __lt__(self, other: typing.Any) -> bool:
1604
+ ...
1605
+ def __ne__(self, other: typing.Any) -> bool:
1606
+ ...
1607
+ def __repr__(self) -> str:
1608
+ ...
1609
+ def __setstate__(self, state: int) -> None:
1610
+ ...
1611
+ def __str__(self) -> str:
1612
+ ...
1613
+ @property
1614
+ def name(self) -> str:
1615
+ ...
1616
+ @property
1617
+ def value(self) -> int:
1618
+ ...
1619
+ class Ndarray:
1620
+ def device_allocation(self) -> DeviceAllocation:
1621
+ ...
1622
+ def device_allocation_ptr(self) -> int:
1623
+ ...
1624
+ def element_data_type(self) -> DataType:
1625
+ ...
1626
+ def element_shape(self) -> list[int]:
1627
+ ...
1628
+ def element_size(self) -> int:
1629
+ ...
1630
+ def nelement(self) -> int:
1631
+ ...
1632
+ def read_float(self, arg0: list[int]) -> float:
1633
+ ...
1634
+ def read_int(self, arg0: list[int]) -> int:
1635
+ ...
1636
+ def read_uint(self, arg0: list[int]) -> int:
1637
+ ...
1638
+ def total_shape(self) -> list[int]:
1639
+ ...
1640
+ def write_float(self, arg0: list[int], arg1: float) -> None:
1641
+ ...
1642
+ def write_int(self, arg0: list[int], arg1: int) -> None:
1643
+ ...
1644
+ @property
1645
+ def dtype(self) -> DataType:
1646
+ ...
1647
+ @property
1648
+ def shape(self) -> list[int]:
1649
+ ...
1650
+ class Node:
1651
+ pass
1652
+ class Operation:
1653
+ pass
1654
+ class Program:
1655
+ def __init__(self) -> None:
1656
+ ...
1657
+ def clear_kernel_profiler(self) -> None:
1658
+ ...
1659
+ def compile_kernel(self, arg0: CompileConfig, arg1: DeviceCapabilityConfig, arg2: ...) -> CompiledKernelData:
1660
+ ...
1661
+ def config(self) -> CompileConfig:
1662
+ ...
1663
+ def create_argpack(self, dt: DataType) -> ...:
1664
+ ...
1665
+ def create_function(self, arg0: ...) -> Function:
1666
+ ...
1667
+ def create_kernel(self, arg0: typing.Callable[[...], None], arg1: str, arg2: AutodiffMode) -> ...:
1668
+ ...
1669
+ def create_ndarray(self, dt: DataType, shape: list[int], layout: Layout = ..., zero_fill: bool = False, dbg_info: DebugInfo = ...) -> ...:
1670
+ ...
1671
+ def create_sparse_matrix(self, arg0: int, arg1: int, arg2: DataType, arg3: str) -> ...:
1672
+ ...
1673
+ def create_texture(self, fmt: ..., shape: list[int] = ()) -> ...:
1674
+ ...
1675
+ def delete_argpack(self, arg0: ...) -> None:
1676
+ ...
1677
+ def delete_ndarray(self, arg0: ...) -> None:
1678
+ ...
1679
+ def fill_float(self, arg0: ..., arg1: float) -> None:
1680
+ ...
1681
+ def fill_int(self, arg0: ..., arg1: int) -> None:
1682
+ ...
1683
+ def fill_uint(self, arg0: ..., arg1: int) -> None:
1684
+ ...
1685
+ def finalize(self) -> None:
1686
+ ...
1687
+ def get_device_caps(self) -> DeviceCapabilityConfig:
1688
+ ...
1689
+ def get_graphics_device(self) -> ...:
1690
+ ...
1691
+ def get_kernel_profiler_device_name(self) -> str:
1692
+ ...
1693
+ def get_kernel_profiler_records(self) -> list[KernelProfileTracedRecord]:
1694
+ ...
1695
+ def get_ndarray_data_ptr_as_int(self, arg0: ...) -> int:
1696
+ ...
1697
+ def get_snode_num_dynamically_allocated(self, arg0: ...) -> int:
1698
+ ...
1699
+ def get_snode_root(self, arg0: int) -> ...:
1700
+ ...
1701
+ def get_snode_tree_size(self) -> int:
1702
+ ...
1703
+ def get_total_compilation_time(self) -> float:
1704
+ ...
1705
+ def kernel_profiler_total_time(self) -> float:
1706
+ ...
1707
+ def launch_kernel(self, arg0: CompiledKernelData, arg1: ...) -> None:
1708
+ ...
1709
+ def make_aot_module_builder(self, arg0: Arch, arg1: list[str]) -> ...:
1710
+ ...
1711
+ def make_id_expr(self, arg0: str) -> ...:
1712
+ ...
1713
+ def make_sparse_matrix_from_ndarray(self, arg0: ..., arg1: ...) -> None:
1714
+ ...
1715
+ def materialize_runtime(self) -> None:
1716
+ ...
1717
+ def print_memory_profiler_info(self) -> None:
1718
+ ...
1719
+ def query_kernel_profile_info(self, arg0: str) -> KernelProfilerQueryResult:
1720
+ ...
1721
+ def reinit_kernel_profiler_with_metrics(self, arg0: list[str]) -> bool:
1722
+ ...
1723
+ def set_kernel_profiler_toolkit(self, arg0: str) -> bool:
1724
+ ...
1725
+ def sync_kernel_profiler(self) -> None:
1726
+ ...
1727
+ def synchronize(self) -> None:
1728
+ ...
1729
+ def timeline_clear(self) -> None:
1730
+ ...
1731
+ def timeline_save(self, arg0: str) -> None:
1732
+ ...
1733
+ def update_kernel_profiler(self) -> None:
1734
+ ...
1735
+ class SNode:
1736
+ parent: SNode
1737
+ def __init__(self) -> None:
1738
+ ...
1739
+ def allocate_adjoint_checkbit(self) -> None:
1740
+ ...
1741
+ def bit_struct(self, arg0: ..., arg1: DebugInfo) -> SNode:
1742
+ ...
1743
+ def bitmasked(self, arg0: list[Axis], arg1: list[int], arg2: DebugInfo) -> SNode:
1744
+ ...
1745
+ def data_type(self) -> DataType:
1746
+ ...
1747
+ def dense(self, arg0: list[Axis], arg1: list[int], arg2: DebugInfo) -> SNode:
1748
+ ...
1749
+ def dynamic(self, arg0: Axis, arg1: int, arg2: int, arg3: DebugInfo) -> SNode:
1750
+ ...
1751
+ def get_ch(self, arg0: int) -> SNode:
1752
+ ...
1753
+ def get_expr(self) -> ...:
1754
+ ...
1755
+ def get_num_ch(self) -> int:
1756
+ ...
1757
+ def get_physical_index_position(self) -> list[int]:
1758
+ ...
1759
+ def get_shape_along_axis(self, arg0: int) -> int:
1760
+ ...
1761
+ def get_snode_grad_type(self) -> SNodeGradType:
1762
+ ...
1763
+ def get_snode_tree_id(self) -> int:
1764
+ ...
1765
+ def has_adjoint(self) -> bool:
1766
+ ...
1767
+ def has_adjoint_checkbit(self) -> bool:
1768
+ ...
1769
+ def has_dual(self) -> bool:
1770
+ ...
1771
+ def hash(self, arg0: list[Axis], arg1: list[int], arg2: DebugInfo) -> SNode:
1772
+ ...
1773
+ def is_place(self) -> bool:
1774
+ ...
1775
+ def is_primal(self) -> bool:
1776
+ ...
1777
+ def lazy_dual(self) -> None:
1778
+ ...
1779
+ def lazy_grad(self) -> None:
1780
+ ...
1781
+ def name(self) -> str:
1782
+ ...
1783
+ def num_active_indices(self) -> int:
1784
+ ...
1785
+ def place(self, arg0: ..., arg1: list[int], arg2: int) -> None:
1786
+ ...
1787
+ def pointer(self, arg0: list[Axis], arg1: list[int], arg2: DebugInfo) -> SNode:
1788
+ ...
1789
+ def quant_array(self, arg0: list[Axis], arg1: list[int], arg2: int, arg3: DebugInfo) -> SNode:
1790
+ ...
1791
+ def read_float(self, arg0: list[int]) -> float:
1792
+ ...
1793
+ def read_int(self, arg0: list[int]) -> int:
1794
+ ...
1795
+ def read_uint(self, arg0: list[int]) -> int:
1796
+ ...
1797
+ def write_float(self, arg0: list[int], arg1: float) -> None:
1798
+ ...
1799
+ def write_int(self, arg0: list[int], arg1: int) -> None:
1800
+ ...
1801
+ def write_uint(self, arg0: list[int], arg1: int) -> None:
1802
+ ...
1803
+ @property
1804
+ def cell_size_bytes(self) -> int:
1805
+ ...
1806
+ @property
1807
+ def id(self) -> int:
1808
+ ...
1809
+ @property
1810
+ def offset(self) -> list[int]:
1811
+ ...
1812
+ @property
1813
+ def offset_bytes_in_parent_cell(self) -> int:
1814
+ ...
1815
+ @property
1816
+ def type(self) -> SNodeType:
1817
+ ...
1818
+ class SNodeAccessFlag:
1819
+ """
1820
+ Members:
1821
+
1822
+ block_local
1823
+
1824
+ read_only
1825
+
1826
+ mesh_local
1827
+ """
1828
+ __members__: typing.ClassVar[dict[str, SNodeAccessFlag]] # value = {'block_local': <SNodeAccessFlag.block_local: 0>, 'read_only': <SNodeAccessFlag.read_only: 1>, 'mesh_local': <SNodeAccessFlag.mesh_local: 2>}
1829
+ block_local: typing.ClassVar[SNodeAccessFlag] # value = <SNodeAccessFlag.block_local: 0>
1830
+ mesh_local: typing.ClassVar[SNodeAccessFlag] # value = <SNodeAccessFlag.mesh_local: 2>
1831
+ read_only: typing.ClassVar[SNodeAccessFlag] # value = <SNodeAccessFlag.read_only: 1>
1832
+ def __eq__(self, other: typing.Any) -> bool:
1833
+ ...
1834
+ def __ge__(self, other: typing.Any) -> bool:
1835
+ ...
1836
+ def __getstate__(self) -> int:
1837
+ ...
1838
+ def __gt__(self, other: typing.Any) -> bool:
1839
+ ...
1840
+ def __hash__(self) -> int:
1841
+ ...
1842
+ def __index__(self) -> int:
1843
+ ...
1844
+ def __init__(self, value: int) -> None:
1845
+ ...
1846
+ def __int__(self) -> int:
1847
+ ...
1848
+ def __le__(self, other: typing.Any) -> bool:
1849
+ ...
1850
+ def __lt__(self, other: typing.Any) -> bool:
1851
+ ...
1852
+ def __ne__(self, other: typing.Any) -> bool:
1853
+ ...
1854
+ def __repr__(self) -> str:
1855
+ ...
1856
+ def __setstate__(self, state: int) -> None:
1857
+ ...
1858
+ def __str__(self) -> str:
1859
+ ...
1860
+ @property
1861
+ def name(self) -> str:
1862
+ ...
1863
+ @property
1864
+ def value(self) -> int:
1865
+ ...
1866
+ class SNodeGradType:
1867
+ """
1868
+ Members:
1869
+
1870
+ PRIMAL
1871
+
1872
+ ADJOINT
1873
+
1874
+ DUAL
1875
+
1876
+ ADJOINT_CHECKBIT
1877
+ """
1878
+ ADJOINT: typing.ClassVar[SNodeGradType] # value = <SNodeGradType.ADJOINT: 1>
1879
+ ADJOINT_CHECKBIT: typing.ClassVar[SNodeGradType] # value = <SNodeGradType.ADJOINT_CHECKBIT: 3>
1880
+ DUAL: typing.ClassVar[SNodeGradType] # value = <SNodeGradType.DUAL: 2>
1881
+ PRIMAL: typing.ClassVar[SNodeGradType] # value = <SNodeGradType.PRIMAL: 0>
1882
+ __members__: typing.ClassVar[dict[str, SNodeGradType]] # value = {'PRIMAL': <SNodeGradType.PRIMAL: 0>, 'ADJOINT': <SNodeGradType.ADJOINT: 1>, 'DUAL': <SNodeGradType.DUAL: 2>, 'ADJOINT_CHECKBIT': <SNodeGradType.ADJOINT_CHECKBIT: 3>}
1883
+ def __eq__(self, other: typing.Any) -> bool:
1884
+ ...
1885
+ def __ge__(self, other: typing.Any) -> bool:
1886
+ ...
1887
+ def __getstate__(self) -> int:
1888
+ ...
1889
+ def __gt__(self, other: typing.Any) -> bool:
1890
+ ...
1891
+ def __hash__(self) -> int:
1892
+ ...
1893
+ def __index__(self) -> int:
1894
+ ...
1895
+ def __init__(self, value: int) -> None:
1896
+ ...
1897
+ def __int__(self) -> int:
1898
+ ...
1899
+ def __le__(self, other: typing.Any) -> bool:
1900
+ ...
1901
+ def __lt__(self, other: typing.Any) -> bool:
1902
+ ...
1903
+ def __ne__(self, other: typing.Any) -> bool:
1904
+ ...
1905
+ def __repr__(self) -> str:
1906
+ ...
1907
+ def __setstate__(self, state: int) -> None:
1908
+ ...
1909
+ def __str__(self) -> str:
1910
+ ...
1911
+ @property
1912
+ def name(self) -> str:
1913
+ ...
1914
+ @property
1915
+ def value(self) -> int:
1916
+ ...
1917
+ class SNodeRegistry:
1918
+ def __init__(self) -> None:
1919
+ ...
1920
+ def create_root(self, arg0: Program) -> SNode:
1921
+ ...
1922
+ class SNodeTree:
1923
+ def destroy_snode_tree(self, arg0: Program) -> None:
1924
+ ...
1925
+ def id(self) -> int:
1926
+ ...
1927
+ class SNodeType:
1928
+ """
1929
+ Members:
1930
+
1931
+ root
1932
+
1933
+ dense
1934
+
1935
+ dynamic
1936
+
1937
+ pointer
1938
+
1939
+ bitmasked
1940
+
1941
+ hash
1942
+
1943
+ place
1944
+
1945
+ bit_struct
1946
+
1947
+ quant_array
1948
+
1949
+ undefined
1950
+ """
1951
+ __members__: typing.ClassVar[dict[str, SNodeType]] # value = {'root': <SNodeType.root: 0>, 'dense': <SNodeType.dense: 1>, 'dynamic': <SNodeType.dynamic: 2>, 'pointer': <SNodeType.pointer: 3>, 'bitmasked': <SNodeType.bitmasked: 4>, 'hash': <SNodeType.hash: 5>, 'place': <SNodeType.place: 6>, 'bit_struct': <SNodeType.bit_struct: 7>, 'quant_array': <SNodeType.quant_array: 8>, 'undefined': <SNodeType.undefined: 9>}
1952
+ bit_struct: typing.ClassVar[SNodeType] # value = <SNodeType.bit_struct: 7>
1953
+ bitmasked: typing.ClassVar[SNodeType] # value = <SNodeType.bitmasked: 4>
1954
+ dense: typing.ClassVar[SNodeType] # value = <SNodeType.dense: 1>
1955
+ dynamic: typing.ClassVar[SNodeType] # value = <SNodeType.dynamic: 2>
1956
+ hash: typing.ClassVar[SNodeType] # value = <SNodeType.hash: 5>
1957
+ place: typing.ClassVar[SNodeType] # value = <SNodeType.place: 6>
1958
+ pointer: typing.ClassVar[SNodeType] # value = <SNodeType.pointer: 3>
1959
+ quant_array: typing.ClassVar[SNodeType] # value = <SNodeType.quant_array: 8>
1960
+ root: typing.ClassVar[SNodeType] # value = <SNodeType.root: 0>
1961
+ undefined: typing.ClassVar[SNodeType] # value = <SNodeType.undefined: 9>
1962
+ def __eq__(self, other: typing.Any) -> bool:
1963
+ ...
1964
+ def __ge__(self, other: typing.Any) -> bool:
1965
+ ...
1966
+ def __getstate__(self) -> int:
1967
+ ...
1968
+ def __gt__(self, other: typing.Any) -> bool:
1969
+ ...
1970
+ def __hash__(self) -> int:
1971
+ ...
1972
+ def __index__(self) -> int:
1973
+ ...
1974
+ def __init__(self, value: int) -> None:
1975
+ ...
1976
+ def __int__(self) -> int:
1977
+ ...
1978
+ def __le__(self, other: typing.Any) -> bool:
1979
+ ...
1980
+ def __lt__(self, other: typing.Any) -> bool:
1981
+ ...
1982
+ def __ne__(self, other: typing.Any) -> bool:
1983
+ ...
1984
+ def __repr__(self) -> str:
1985
+ ...
1986
+ def __setstate__(self, state: int) -> None:
1987
+ ...
1988
+ def __str__(self) -> str:
1989
+ ...
1990
+ @property
1991
+ def name(self) -> str:
1992
+ ...
1993
+ @property
1994
+ def value(self) -> int:
1995
+ ...
1996
+ class Sequential(Node):
1997
+ def __init__(self, arg0: ...) -> None:
1998
+ ...
1999
+ def append(self, arg0: Node) -> None:
2000
+ ...
2001
+ def dispatch(self, arg0: ..., arg1: list[Arg]) -> None:
2002
+ ...
2003
+ class SparseMatrix:
2004
+ @typing.overload
2005
+ def __init__(self) -> None:
2006
+ ...
2007
+ @typing.overload
2008
+ def __init__(self, rows: int, cols: int, dt: DataType = ...) -> None:
2009
+ ...
2010
+ @typing.overload
2011
+ def __init__(self, arg0: SparseMatrix) -> None:
2012
+ ...
2013
+ def get_data_type(self) -> DataType:
2014
+ ...
2015
+ def get_element(self, arg0: int, arg1: int) -> float:
2016
+ ...
2017
+ def mmwrite(self, arg0: str) -> None:
2018
+ ...
2019
+ def num_cols(self) -> int:
2020
+ ...
2021
+ def num_rows(self) -> int:
2022
+ ...
2023
+ def set_element(self, arg0: int, arg1: int, arg2: float) -> None:
2024
+ ...
2025
+ def to_string(self) -> str:
2026
+ ...
2027
+ class SparseMatrixBuilder:
2028
+ def __init__(self, rows: int, cols: int, max_num_triplets: int, dt: DataType = ..., storage_format: str = 'col_major') -> None:
2029
+ ...
2030
+ def build(self) -> ...:
2031
+ ...
2032
+ def build_cuda(self) -> ...:
2033
+ ...
2034
+ def create_ndarray(self, arg0: Program) -> None:
2035
+ ...
2036
+ def delete_ndarray(self, arg0: Program) -> None:
2037
+ ...
2038
+ def get_addr(self) -> int:
2039
+ ...
2040
+ def get_ndarray_data_ptr(self) -> int:
2041
+ ...
2042
+ def print_triplets_cuda(self) -> None:
2043
+ ...
2044
+ def print_triplets_eigen(self) -> None:
2045
+ ...
2046
+ class SparseSolver:
2047
+ def analyze_pattern(self, arg0: SparseMatrix) -> None:
2048
+ ...
2049
+ def compute(self, arg0: SparseMatrix) -> bool:
2050
+ ...
2051
+ def factorize(self, arg0: SparseMatrix) -> None:
2052
+ ...
2053
+ def info(self) -> bool:
2054
+ ...
2055
+ class Stmt:
2056
+ pass
2057
+ class TaichiAssertionError(AssertionError):
2058
+ pass
2059
+ class TaichiIndexError(IndexError):
2060
+ pass
2061
+ class TaichiRuntimeError(RuntimeError):
2062
+ pass
2063
+ class TaichiSyntaxError(SyntaxError):
2064
+ pass
2065
+ class TaichiTypeError(TypeError):
2066
+ pass
2067
+ class Task:
2068
+ def initialize(self, arg0: Config) -> None:
2069
+ ...
2070
+ def run(self, arg0: list[str]) -> str:
2071
+ ...
2072
+ class Texture:
2073
+ def device_allocation_ptr(self) -> int:
2074
+ ...
2075
+ def from_ndarray(self, arg0: Ndarray) -> None:
2076
+ ...
2077
+ def from_snode(self, arg0: SNode) -> None:
2078
+ ...
2079
+ class TextureOpType:
2080
+ """
2081
+ Members:
2082
+
2083
+ kUndefined
2084
+
2085
+ kSampleLod
2086
+
2087
+ kFetchTexel
2088
+
2089
+ kLoad
2090
+
2091
+ kStore
2092
+ """
2093
+ __members__: typing.ClassVar[dict[str, TextureOpType]] # value = {'kUndefined': <TextureOpType.kUndefined: 0>, 'kSampleLod': <TextureOpType.kSampleLod: 1>, 'kFetchTexel': <TextureOpType.kFetchTexel: 2>, 'kLoad': <TextureOpType.kLoad: 3>, 'kStore': <TextureOpType.kStore: 4>}
2094
+ kFetchTexel: typing.ClassVar[TextureOpType] # value = <TextureOpType.kFetchTexel: 2>
2095
+ kLoad: typing.ClassVar[TextureOpType] # value = <TextureOpType.kLoad: 3>
2096
+ kSampleLod: typing.ClassVar[TextureOpType] # value = <TextureOpType.kSampleLod: 1>
2097
+ kStore: typing.ClassVar[TextureOpType] # value = <TextureOpType.kStore: 4>
2098
+ kUndefined: typing.ClassVar[TextureOpType] # value = <TextureOpType.kUndefined: 0>
2099
+ def __eq__(self, other: typing.Any) -> bool:
2100
+ ...
2101
+ def __ge__(self, other: typing.Any) -> bool:
2102
+ ...
2103
+ def __getstate__(self) -> int:
2104
+ ...
2105
+ def __gt__(self, other: typing.Any) -> bool:
2106
+ ...
2107
+ def __hash__(self) -> int:
2108
+ ...
2109
+ def __index__(self) -> int:
2110
+ ...
2111
+ def __init__(self, value: int) -> None:
2112
+ ...
2113
+ def __int__(self) -> int:
2114
+ ...
2115
+ def __le__(self, other: typing.Any) -> bool:
2116
+ ...
2117
+ def __lt__(self, other: typing.Any) -> bool:
2118
+ ...
2119
+ def __ne__(self, other: typing.Any) -> bool:
2120
+ ...
2121
+ def __repr__(self) -> str:
2122
+ ...
2123
+ def __setstate__(self, state: int) -> None:
2124
+ ...
2125
+ def __str__(self) -> str:
2126
+ ...
2127
+ @property
2128
+ def name(self) -> str:
2129
+ ...
2130
+ @property
2131
+ def value(self) -> int:
2132
+ ...
2133
+ class Type:
2134
+ def to_string(self) -> str:
2135
+ ...
2136
+ class TypeFactory:
2137
+ def get_argpack_type(self, arg0: list[tuple[DataType, str]]) -> DataType:
2138
+ ...
2139
+ def get_ndarray_struct_type(self, dt: DataType, ndim: int, needs_grad: bool) -> Type:
2140
+ ...
2141
+ def get_quant_fixed_type(self, digits_type: Type, compute_type: Type, scale: float) -> Type:
2142
+ ...
2143
+ def get_quant_float_type(self, digits_type: Type, exponent_type: Type, compute_type: Type) -> Type:
2144
+ ...
2145
+ def get_quant_int_type(self, num_bits: int, is_signed: bool, compute_type: Type) -> Type:
2146
+ ...
2147
+ def get_rwtexture_struct_type(self) -> Type:
2148
+ ...
2149
+ def get_struct_type(self, arg0: list[tuple[DataType, str]]) -> DataType:
2150
+ ...
2151
+ def get_struct_type_for_argpack_ptr(self, dt: DataType, layout: str = 'none') -> Type:
2152
+ ...
2153
+ def get_tensor_type(self, shape: tuple[int, ...], element_type: DataType) -> DataType:
2154
+ ...
2155
+ class UnaryOpType:
2156
+ """
2157
+ Members:
2158
+
2159
+ neg
2160
+
2161
+ sqrt
2162
+
2163
+ round
2164
+
2165
+ floor
2166
+
2167
+ frexp
2168
+
2169
+ ceil
2170
+
2171
+ cast_value
2172
+
2173
+ cast_bits
2174
+
2175
+ abs
2176
+
2177
+ sgn
2178
+
2179
+ sin
2180
+
2181
+ asin
2182
+
2183
+ cos
2184
+
2185
+ acos
2186
+
2187
+ tan
2188
+
2189
+ tanh
2190
+
2191
+ inv
2192
+
2193
+ rcp
2194
+
2195
+ exp
2196
+
2197
+ log
2198
+
2199
+ popcnt
2200
+
2201
+ clz
2202
+
2203
+ rsqrt
2204
+
2205
+ bit_not
2206
+
2207
+ logic_not
2208
+
2209
+ undefined
2210
+ """
2211
+ __members__: typing.ClassVar[dict[str, UnaryOpType]] # value = {'neg': <UnaryOpType.neg: 0>, 'sqrt': <UnaryOpType.sqrt: 1>, 'round': <UnaryOpType.round: 2>, 'floor': <UnaryOpType.floor: 3>, 'frexp': <UnaryOpType.frexp: 4>, 'ceil': <UnaryOpType.ceil: 5>, 'cast_value': <UnaryOpType.cast_value: 6>, 'cast_bits': <UnaryOpType.cast_bits: 7>, 'abs': <UnaryOpType.abs: 8>, 'sgn': <UnaryOpType.sgn: 9>, 'sin': <UnaryOpType.sin: 10>, 'asin': <UnaryOpType.asin: 11>, 'cos': <UnaryOpType.cos: 12>, 'acos': <UnaryOpType.acos: 13>, 'tan': <UnaryOpType.tan: 14>, 'tanh': <UnaryOpType.tanh: 15>, 'inv': <UnaryOpType.inv: 16>, 'rcp': <UnaryOpType.rcp: 17>, 'exp': <UnaryOpType.exp: 18>, 'log': <UnaryOpType.log: 19>, 'popcnt': <UnaryOpType.popcnt: 20>, 'clz': <UnaryOpType.clz: 21>, 'rsqrt': <UnaryOpType.rsqrt: 22>, 'bit_not': <UnaryOpType.bit_not: 23>, 'logic_not': <UnaryOpType.logic_not: 24>, 'undefined': <UnaryOpType.undefined: 25>}
2212
+ abs: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.abs: 8>
2213
+ acos: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.acos: 13>
2214
+ asin: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.asin: 11>
2215
+ bit_not: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.bit_not: 23>
2216
+ cast_bits: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.cast_bits: 7>
2217
+ cast_value: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.cast_value: 6>
2218
+ ceil: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.ceil: 5>
2219
+ clz: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.clz: 21>
2220
+ cos: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.cos: 12>
2221
+ exp: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.exp: 18>
2222
+ floor: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.floor: 3>
2223
+ frexp: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.frexp: 4>
2224
+ inv: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.inv: 16>
2225
+ log: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.log: 19>
2226
+ logic_not: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.logic_not: 24>
2227
+ neg: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.neg: 0>
2228
+ popcnt: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.popcnt: 20>
2229
+ rcp: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.rcp: 17>
2230
+ round: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.round: 2>
2231
+ rsqrt: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.rsqrt: 22>
2232
+ sgn: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.sgn: 9>
2233
+ sin: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.sin: 10>
2234
+ sqrt: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.sqrt: 1>
2235
+ tan: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.tan: 14>
2236
+ tanh: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.tanh: 15>
2237
+ undefined: typing.ClassVar[UnaryOpType] # value = <UnaryOpType.undefined: 25>
2238
+ def __eq__(self, other: typing.Any) -> bool:
2239
+ ...
2240
+ def __ge__(self, other: typing.Any) -> bool:
2241
+ ...
2242
+ def __getstate__(self) -> int:
2243
+ ...
2244
+ def __gt__(self, other: typing.Any) -> bool:
2245
+ ...
2246
+ def __hash__(self) -> int:
2247
+ ...
2248
+ def __index__(self) -> int:
2249
+ ...
2250
+ def __init__(self, value: int) -> None:
2251
+ ...
2252
+ def __int__(self) -> int:
2253
+ ...
2254
+ def __le__(self, other: typing.Any) -> bool:
2255
+ ...
2256
+ def __lt__(self, other: typing.Any) -> bool:
2257
+ ...
2258
+ def __ne__(self, other: typing.Any) -> bool:
2259
+ ...
2260
+ def __repr__(self) -> str:
2261
+ ...
2262
+ def __setstate__(self, state: int) -> None:
2263
+ ...
2264
+ def __str__(self) -> str:
2265
+ ...
2266
+ @property
2267
+ def name(self) -> str:
2268
+ ...
2269
+ @property
2270
+ def value(self) -> int:
2271
+ ...
2272
+ class Vector2d:
2273
+ x: float
2274
+ y: float
2275
+ def __getitem__(self, arg0: int) -> float:
2276
+ ...
2277
+ @typing.overload
2278
+ def __init__(self, arg0: float, arg1: float) -> None:
2279
+ ...
2280
+ @typing.overload
2281
+ def __init__(self, arg0: float) -> None:
2282
+ ...
2283
+ def __len__(self) -> int:
2284
+ ...
2285
+ class Vector2f:
2286
+ x: float
2287
+ y: float
2288
+ def __getitem__(self, arg0: int) -> float:
2289
+ ...
2290
+ @typing.overload
2291
+ def __init__(self, arg0: float, arg1: float) -> None:
2292
+ ...
2293
+ @typing.overload
2294
+ def __init__(self, arg0: float) -> None:
2295
+ ...
2296
+ def __len__(self) -> int:
2297
+ ...
2298
+ class Vector2i:
2299
+ x: int
2300
+ y: int
2301
+ def __getitem__(self, arg0: int) -> int:
2302
+ ...
2303
+ @typing.overload
2304
+ def __init__(self, arg0: int, arg1: int) -> None:
2305
+ ...
2306
+ @typing.overload
2307
+ def __init__(self, arg0: int) -> None:
2308
+ ...
2309
+ def __len__(self) -> int:
2310
+ ...
2311
+ class Vector3d:
2312
+ x: float
2313
+ y: float
2314
+ z: float
2315
+ def __getitem__(self, arg0: int) -> float:
2316
+ ...
2317
+ @typing.overload
2318
+ def __init__(self, arg0: float, arg1: float, arg2: float) -> None:
2319
+ ...
2320
+ @typing.overload
2321
+ def __init__(self, arg0: float) -> None:
2322
+ ...
2323
+ def __len__(self) -> int:
2324
+ ...
2325
+ class Vector3f:
2326
+ x: float
2327
+ y: float
2328
+ z: float
2329
+ def __getitem__(self, arg0: int) -> float:
2330
+ ...
2331
+ @typing.overload
2332
+ def __init__(self, arg0: float, arg1: float, arg2: float) -> None:
2333
+ ...
2334
+ @typing.overload
2335
+ def __init__(self, arg0: float) -> None:
2336
+ ...
2337
+ def __len__(self) -> int:
2338
+ ...
2339
+ class Vector3i:
2340
+ x: int
2341
+ y: int
2342
+ z: int
2343
+ def __getitem__(self, arg0: int) -> int:
2344
+ ...
2345
+ @typing.overload
2346
+ def __init__(self, arg0: int, arg1: int, arg2: int) -> None:
2347
+ ...
2348
+ @typing.overload
2349
+ def __init__(self, arg0: int) -> None:
2350
+ ...
2351
+ def __len__(self) -> int:
2352
+ ...
2353
+ class Vector4d:
2354
+ w: float
2355
+ x: float
2356
+ y: float
2357
+ z: float
2358
+ def __getitem__(self, arg0: int) -> float:
2359
+ ...
2360
+ @typing.overload
2361
+ def __init__(self, arg0: float, arg1: float, arg2: float, arg3: float) -> None:
2362
+ ...
2363
+ @typing.overload
2364
+ def __init__(self, arg0: float) -> None:
2365
+ ...
2366
+ def __len__(self) -> int:
2367
+ ...
2368
+ class Vector4f:
2369
+ w: float
2370
+ x: float
2371
+ y: float
2372
+ z: float
2373
+ def __getitem__(self, arg0: int) -> float:
2374
+ ...
2375
+ @typing.overload
2376
+ def __init__(self, arg0: float, arg1: float, arg2: float, arg3: float) -> None:
2377
+ ...
2378
+ @typing.overload
2379
+ def __init__(self, arg0: float) -> None:
2380
+ ...
2381
+ def __len__(self) -> int:
2382
+ ...
2383
+ class Vector4i:
2384
+ w: int
2385
+ x: int
2386
+ y: int
2387
+ z: int
2388
+ def __getitem__(self, arg0: int) -> int:
2389
+ ...
2390
+ @typing.overload
2391
+ def __init__(self, arg0: int, arg1: int, arg2: int, arg3: int) -> None:
2392
+ ...
2393
+ @typing.overload
2394
+ def __init__(self, arg0: int) -> None:
2395
+ ...
2396
+ def __len__(self) -> int:
2397
+ ...
2398
+ class dColMajor_EigenSparseMatrix(SparseMatrix):
2399
+ def __add__(self, arg0: dColMajor_EigenSparseMatrix) -> dColMajor_EigenSparseMatrix:
2400
+ ...
2401
+ def __iadd__(self, arg0: dColMajor_EigenSparseMatrix) -> dColMajor_EigenSparseMatrix:
2402
+ ...
2403
+ def __imul__(self, arg0: float) -> dColMajor_EigenSparseMatrix:
2404
+ ...
2405
+ @typing.overload
2406
+ def __init__(self, arg0: int, arg1: int, arg2: DataType) -> None:
2407
+ ...
2408
+ @typing.overload
2409
+ def __init__(self, arg0: dColMajor_EigenSparseMatrix) -> None:
2410
+ ...
2411
+ @typing.overload
2412
+ def __init__(self, arg0: scipy.sparse.csc_matrix) -> None:
2413
+ ...
2414
+ def __isub__(self, arg0: dColMajor_EigenSparseMatrix) -> dColMajor_EigenSparseMatrix:
2415
+ ...
2416
+ @typing.overload
2417
+ def __mul__(self, arg0: float) -> dColMajor_EigenSparseMatrix:
2418
+ ...
2419
+ @typing.overload
2420
+ def __mul__(self, arg0: dColMajor_EigenSparseMatrix) -> dColMajor_EigenSparseMatrix:
2421
+ ...
2422
+ def __rmul__(self, arg0: float) -> dColMajor_EigenSparseMatrix:
2423
+ ...
2424
+ def __sub__(self, arg0: dColMajor_EigenSparseMatrix) -> dColMajor_EigenSparseMatrix:
2425
+ ...
2426
+ def get_element(self, arg0: int, arg1: int) -> float:
2427
+ ...
2428
+ def mat_vec_mul(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
2429
+ ...
2430
+ def matmul(self, arg0: dColMajor_EigenSparseMatrix) -> dColMajor_EigenSparseMatrix:
2431
+ ...
2432
+ def set_element(self, arg0: int, arg1: int, arg2: float) -> None:
2433
+ ...
2434
+ def spmv(self, arg0: Program, arg1: Ndarray, arg2: Ndarray) -> None:
2435
+ ...
2436
+ def transpose(self) -> dColMajor_EigenSparseMatrix:
2437
+ ...
2438
+ class dRowMajor_EigenSparseMatrix(SparseMatrix):
2439
+ def __add__(self, arg0: dRowMajor_EigenSparseMatrix) -> dRowMajor_EigenSparseMatrix:
2440
+ ...
2441
+ def __iadd__(self, arg0: dRowMajor_EigenSparseMatrix) -> dRowMajor_EigenSparseMatrix:
2442
+ ...
2443
+ def __imul__(self, arg0: float) -> dRowMajor_EigenSparseMatrix:
2444
+ ...
2445
+ @typing.overload
2446
+ def __init__(self, arg0: int, arg1: int, arg2: DataType) -> None:
2447
+ ...
2448
+ @typing.overload
2449
+ def __init__(self, arg0: dRowMajor_EigenSparseMatrix) -> None:
2450
+ ...
2451
+ @typing.overload
2452
+ def __init__(self, arg0: scipy.sparse.csr_matrix) -> None:
2453
+ ...
2454
+ def __isub__(self, arg0: dRowMajor_EigenSparseMatrix) -> dRowMajor_EigenSparseMatrix:
2455
+ ...
2456
+ @typing.overload
2457
+ def __mul__(self, arg0: float) -> dRowMajor_EigenSparseMatrix:
2458
+ ...
2459
+ @typing.overload
2460
+ def __mul__(self, arg0: dRowMajor_EigenSparseMatrix) -> dRowMajor_EigenSparseMatrix:
2461
+ ...
2462
+ def __rmul__(self, arg0: float) -> dRowMajor_EigenSparseMatrix:
2463
+ ...
2464
+ def __sub__(self, arg0: dRowMajor_EigenSparseMatrix) -> dRowMajor_EigenSparseMatrix:
2465
+ ...
2466
+ def get_element(self, arg0: int, arg1: int) -> float:
2467
+ ...
2468
+ def mat_vec_mul(self, arg0: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
2469
+ ...
2470
+ def matmul(self, arg0: dRowMajor_EigenSparseMatrix) -> dRowMajor_EigenSparseMatrix:
2471
+ ...
2472
+ def set_element(self, arg0: int, arg1: int, arg2: float) -> None:
2473
+ ...
2474
+ def spmv(self, arg0: Program, arg1: Ndarray, arg2: Ndarray) -> None:
2475
+ ...
2476
+ def transpose(self) -> dRowMajor_EigenSparseMatrix:
2477
+ ...
2478
+ class fColMajor_EigenSparseMatrix(SparseMatrix):
2479
+ def __add__(self, arg0: fColMajor_EigenSparseMatrix) -> fColMajor_EigenSparseMatrix:
2480
+ ...
2481
+ def __iadd__(self, arg0: fColMajor_EigenSparseMatrix) -> fColMajor_EigenSparseMatrix:
2482
+ ...
2483
+ def __imul__(self, arg0: float) -> fColMajor_EigenSparseMatrix:
2484
+ ...
2485
+ @typing.overload
2486
+ def __init__(self, arg0: int, arg1: int, arg2: DataType) -> None:
2487
+ ...
2488
+ @typing.overload
2489
+ def __init__(self, arg0: fColMajor_EigenSparseMatrix) -> None:
2490
+ ...
2491
+ @typing.overload
2492
+ def __init__(self, arg0: scipy.sparse.csc_matrix) -> None:
2493
+ ...
2494
+ def __isub__(self, arg0: fColMajor_EigenSparseMatrix) -> fColMajor_EigenSparseMatrix:
2495
+ ...
2496
+ @typing.overload
2497
+ def __mul__(self, arg0: float) -> fColMajor_EigenSparseMatrix:
2498
+ ...
2499
+ @typing.overload
2500
+ def __mul__(self, arg0: fColMajor_EigenSparseMatrix) -> fColMajor_EigenSparseMatrix:
2501
+ ...
2502
+ def __rmul__(self, arg0: float) -> fColMajor_EigenSparseMatrix:
2503
+ ...
2504
+ def __sub__(self, arg0: fColMajor_EigenSparseMatrix) -> fColMajor_EigenSparseMatrix:
2505
+ ...
2506
+ def get_element(self, arg0: int, arg1: int) -> float:
2507
+ ...
2508
+ def mat_vec_mul(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
2509
+ ...
2510
+ def matmul(self, arg0: fColMajor_EigenSparseMatrix) -> fColMajor_EigenSparseMatrix:
2511
+ ...
2512
+ def set_element(self, arg0: int, arg1: int, arg2: float) -> None:
2513
+ ...
2514
+ def spmv(self, arg0: Program, arg1: Ndarray, arg2: Ndarray) -> None:
2515
+ ...
2516
+ def transpose(self) -> fColMajor_EigenSparseMatrix:
2517
+ ...
2518
+ class fRowMajor_EigenSparseMatrix(SparseMatrix):
2519
+ def __add__(self, arg0: fRowMajor_EigenSparseMatrix) -> fRowMajor_EigenSparseMatrix:
2520
+ ...
2521
+ def __iadd__(self, arg0: fRowMajor_EigenSparseMatrix) -> fRowMajor_EigenSparseMatrix:
2522
+ ...
2523
+ def __imul__(self, arg0: float) -> fRowMajor_EigenSparseMatrix:
2524
+ ...
2525
+ @typing.overload
2526
+ def __init__(self, arg0: int, arg1: int, arg2: DataType) -> None:
2527
+ ...
2528
+ @typing.overload
2529
+ def __init__(self, arg0: fRowMajor_EigenSparseMatrix) -> None:
2530
+ ...
2531
+ @typing.overload
2532
+ def __init__(self, arg0: scipy.sparse.csr_matrix) -> None:
2533
+ ...
2534
+ def __isub__(self, arg0: fRowMajor_EigenSparseMatrix) -> fRowMajor_EigenSparseMatrix:
2535
+ ...
2536
+ @typing.overload
2537
+ def __mul__(self, arg0: float) -> fRowMajor_EigenSparseMatrix:
2538
+ ...
2539
+ @typing.overload
2540
+ def __mul__(self, arg0: fRowMajor_EigenSparseMatrix) -> fRowMajor_EigenSparseMatrix:
2541
+ ...
2542
+ def __rmul__(self, arg0: float) -> fRowMajor_EigenSparseMatrix:
2543
+ ...
2544
+ def __sub__(self, arg0: fRowMajor_EigenSparseMatrix) -> fRowMajor_EigenSparseMatrix:
2545
+ ...
2546
+ def get_element(self, arg0: int, arg1: int) -> float:
2547
+ ...
2548
+ def mat_vec_mul(self, arg0: numpy.ndarray[numpy.float32[m, 1]]) -> numpy.ndarray[numpy.float32[m, 1]]:
2549
+ ...
2550
+ def matmul(self, arg0: fRowMajor_EigenSparseMatrix) -> fRowMajor_EigenSparseMatrix:
2551
+ ...
2552
+ def set_element(self, arg0: int, arg1: int, arg2: float) -> None:
2553
+ ...
2554
+ def spmv(self, arg0: Program, arg1: Ndarray, arg2: Ndarray) -> None:
2555
+ ...
2556
+ def transpose(self) -> fRowMajor_EigenSparseMatrix:
2557
+ ...
2558
+ def arch_from_name(arg0: str) -> Arch:
2559
+ ...
2560
+ def arch_name(arg0: Arch) -> str:
2561
+ ...
2562
+ def arch_uses_llvm(arg0: Arch) -> bool:
2563
+ ...
2564
+ def bits_cast(arg0: Expr, arg1: DataType) -> Expr:
2565
+ ...
2566
+ def clean_offline_cache_files(arg0: str) -> int:
2567
+ ...
2568
+ def clear_profile_info() -> None:
2569
+ ...
2570
+ def create_benchmark(arg0: str) -> ...:
2571
+ ...
2572
+ def create_initialized_benchmark(arg0: str, arg1: ...) -> ...:
2573
+ ...
2574
+ def create_initialized_task(arg0: str, arg1: ...) -> ...:
2575
+ ...
2576
+ def create_mesh() -> MeshPtr:
2577
+ ...
2578
+ def create_task(arg0: str) -> ...:
2579
+ ...
2580
+ def critical(arg0: str) -> None:
2581
+ ...
2582
+ def cuda_version() -> str:
2583
+ ...
2584
+ def data_type_name(arg0: DataType) -> str:
2585
+ ...
2586
+ def data_type_size(arg0: DataType) -> int:
2587
+ ...
2588
+ def debug(arg0: str) -> None:
2589
+ ...
2590
+ def default_compile_config() -> CompileConfig:
2591
+ ...
2592
+ def element_order(arg0: MeshElementType) -> int:
2593
+ ...
2594
+ def element_type_name(arg0: MeshElementType) -> str:
2595
+ ...
2596
+ def error(arg0: str) -> None:
2597
+ ...
2598
+ def expr_abs(arg0: Expr) -> Expr:
2599
+ ...
2600
+ def expr_acos(arg0: Expr) -> Expr:
2601
+ ...
2602
+ def expr_add(arg0: Expr, arg1: Expr) -> Expr:
2603
+ ...
2604
+ def expr_asin(arg0: Expr) -> Expr:
2605
+ ...
2606
+ def expr_assume_in_range(arg0: Expr, arg1: Expr, arg2: int, arg3: int, arg4: DebugInfo) -> Expr:
2607
+ ...
2608
+ def expr_atan2(arg0: Expr, arg1: Expr) -> Expr:
2609
+ ...
2610
+ def expr_atomic_add(arg0: Expr, arg1: Expr) -> Expr:
2611
+ ...
2612
+ def expr_atomic_bit_and(arg0: Expr, arg1: Expr) -> Expr:
2613
+ ...
2614
+ def expr_atomic_bit_or(arg0: Expr, arg1: Expr) -> Expr:
2615
+ ...
2616
+ def expr_atomic_bit_xor(arg0: Expr, arg1: Expr) -> Expr:
2617
+ ...
2618
+ def expr_atomic_max(arg0: Expr, arg1: Expr) -> Expr:
2619
+ ...
2620
+ def expr_atomic_min(arg0: Expr, arg1: Expr) -> Expr:
2621
+ ...
2622
+ def expr_atomic_mul(arg0: Expr, arg1: Expr) -> Expr:
2623
+ ...
2624
+ def expr_atomic_sub(arg0: Expr, arg1: Expr) -> Expr:
2625
+ ...
2626
+ def expr_bit_and(arg0: Expr, arg1: Expr) -> Expr:
2627
+ ...
2628
+ def expr_bit_not(arg0: Expr) -> Expr:
2629
+ ...
2630
+ def expr_bit_or(arg0: Expr, arg1: Expr) -> Expr:
2631
+ ...
2632
+ def expr_bit_sar(arg0: Expr, arg1: Expr) -> Expr:
2633
+ ...
2634
+ def expr_bit_shl(arg0: Expr, arg1: Expr) -> Expr:
2635
+ ...
2636
+ def expr_bit_shr(arg0: Expr, arg1: Expr) -> Expr:
2637
+ ...
2638
+ def expr_bit_xor(arg0: Expr, arg1: Expr) -> Expr:
2639
+ ...
2640
+ def expr_ceil(arg0: Expr) -> Expr:
2641
+ ...
2642
+ def expr_clz(arg0: Expr) -> Expr:
2643
+ ...
2644
+ def expr_cmp_eq(arg0: Expr, arg1: Expr) -> Expr:
2645
+ ...
2646
+ def expr_cmp_ge(arg0: Expr, arg1: Expr) -> Expr:
2647
+ ...
2648
+ def expr_cmp_gt(arg0: Expr, arg1: Expr) -> Expr:
2649
+ ...
2650
+ def expr_cmp_le(arg0: Expr, arg1: Expr) -> Expr:
2651
+ ...
2652
+ def expr_cmp_lt(arg0: Expr, arg1: Expr) -> Expr:
2653
+ ...
2654
+ def expr_cmp_ne(arg0: Expr, arg1: Expr) -> Expr:
2655
+ ...
2656
+ def expr_cos(arg0: Expr) -> Expr:
2657
+ ...
2658
+ def expr_div(arg0: Expr, arg1: Expr) -> Expr:
2659
+ ...
2660
+ def expr_exp(arg0: Expr) -> Expr:
2661
+ ...
2662
+ def expr_field(arg0: Expr, arg1: DataType) -> Expr:
2663
+ ...
2664
+ def expr_floor(arg0: Expr) -> Expr:
2665
+ ...
2666
+ def expr_floordiv(arg0: Expr, arg1: Expr) -> Expr:
2667
+ ...
2668
+ def expr_frexp(arg0: Expr) -> Expr:
2669
+ ...
2670
+ def expr_ifte(arg0: Expr, arg1: Expr, arg2: Expr) -> Expr:
2671
+ ...
2672
+ def expr_inv(arg0: Expr) -> Expr:
2673
+ ...
2674
+ def expr_log(arg0: Expr) -> Expr:
2675
+ ...
2676
+ def expr_logic_not(arg0: Expr) -> Expr:
2677
+ ...
2678
+ def expr_logical_and(arg0: Expr, arg1: Expr) -> Expr:
2679
+ ...
2680
+ def expr_logical_or(arg0: Expr, arg1: Expr) -> Expr:
2681
+ ...
2682
+ def expr_loop_unique(arg0: Expr, arg1: list[SNode], arg2: DebugInfo) -> Expr:
2683
+ ...
2684
+ def expr_matrix_field(arg0: list[Expr], arg1: list[int]) -> Expr:
2685
+ ...
2686
+ def expr_max(arg0: Expr, arg1: Expr) -> Expr:
2687
+ ...
2688
+ def expr_min(arg0: Expr, arg1: Expr) -> Expr:
2689
+ ...
2690
+ def expr_mod(arg0: Expr, arg1: Expr) -> Expr:
2691
+ ...
2692
+ def expr_mul(arg0: Expr, arg1: Expr) -> Expr:
2693
+ ...
2694
+ def expr_neg(arg0: Expr) -> Expr:
2695
+ ...
2696
+ def expr_popcnt(arg0: Expr) -> Expr:
2697
+ ...
2698
+ def expr_pow(arg0: Expr, arg1: Expr) -> Expr:
2699
+ ...
2700
+ def expr_rcp(arg0: Expr) -> Expr:
2701
+ ...
2702
+ def expr_round(arg0: Expr) -> Expr:
2703
+ ...
2704
+ def expr_rsqrt(arg0: Expr) -> Expr:
2705
+ ...
2706
+ def expr_select(arg0: Expr, arg1: Expr, arg2: Expr) -> Expr:
2707
+ ...
2708
+ def expr_sin(arg0: Expr) -> Expr:
2709
+ ...
2710
+ def expr_sqrt(arg0: Expr) -> Expr:
2711
+ ...
2712
+ def expr_sub(arg0: Expr, arg1: Expr) -> Expr:
2713
+ ...
2714
+ def expr_tan(arg0: Expr) -> Expr:
2715
+ ...
2716
+ def expr_tanh(arg0: Expr) -> Expr:
2717
+ ...
2718
+ def expr_truediv(arg0: Expr, arg1: Expr) -> Expr:
2719
+ ...
2720
+ def finalize_snode_tree(arg0: SNodeRegistry, arg1: SNode, arg2: Program, arg3: bool) -> SNodeTree:
2721
+ ...
2722
+ def flush_log() -> None:
2723
+ ...
2724
+ def from_end_element_order(arg0: MeshRelationType) -> int:
2725
+ ...
2726
+ def get_commit_hash() -> str:
2727
+ ...
2728
+ def get_default_float_size() -> int:
2729
+ ...
2730
+ def get_external_tensor_dim(arg0: Expr) -> int:
2731
+ ...
2732
+ def get_external_tensor_element_dim(arg0: Expr) -> int:
2733
+ ...
2734
+ def get_external_tensor_element_shape(arg0: Expr) -> list[int]:
2735
+ ...
2736
+ def get_external_tensor_element_type(arg0: Expr) -> DataType:
2737
+ ...
2738
+ def get_external_tensor_needs_grad(arg0: Expr) -> bool:
2739
+ ...
2740
+ def get_external_tensor_real_func_args(arg0: Expr, arg1: DebugInfo) -> list[Expr]:
2741
+ ...
2742
+ def get_external_tensor_shape_along_axis(arg0: Expr, arg1: int, arg2: DebugInfo) -> Expr:
2743
+ ...
2744
+ def get_llvm_target_support() -> str:
2745
+ ...
2746
+ def get_max_num_args() -> int:
2747
+ ...
2748
+ def get_max_num_indices() -> int:
2749
+ ...
2750
+ def get_num_elements(arg0: MeshPtr, arg1: MeshElementType) -> int:
2751
+ ...
2752
+ def get_python_package_dir() -> str:
2753
+ ...
2754
+ def get_relation_access(arg0: ..., arg1: Expr, arg2: ..., arg3: Expr, arg4: DebugInfo) -> Expr:
2755
+ ...
2756
+ def get_relation_size(arg0: ..., arg1: Expr, arg2: ..., arg3: DebugInfo) -> Expr:
2757
+ ...
2758
+ def get_repo_dir() -> str:
2759
+ ...
2760
+ def get_type_factory_instance() -> TypeFactory:
2761
+ ...
2762
+ def get_version_major() -> int:
2763
+ ...
2764
+ def get_version_minor() -> int:
2765
+ ...
2766
+ def get_version_patch() -> int:
2767
+ ...
2768
+ def get_version_string() -> str:
2769
+ ...
2770
+ def host_arch() -> Arch:
2771
+ ...
2772
+ def info(arg0: str) -> None:
2773
+ ...
2774
+ def insert_internal_func_call(arg0: ..., arg1: ExprGroup) -> Expr:
2775
+ ...
2776
+ def inverse_relation(arg0: MeshRelationType) -> MeshRelationType:
2777
+ ...
2778
+ def is_extension_supported(arg0: Arch, arg1: Extension) -> bool:
2779
+ ...
2780
+ def is_integral(arg0: DataType) -> bool:
2781
+ ...
2782
+ def is_quant(arg0: DataType) -> bool:
2783
+ ...
2784
+ def is_real(arg0: DataType) -> bool:
2785
+ ...
2786
+ def is_signed(arg0: DataType) -> bool:
2787
+ ...
2788
+ def is_tensor(arg0: DataType) -> bool:
2789
+ ...
2790
+ def is_unsigned(arg0: DataType) -> bool:
2791
+ ...
2792
+ def libdevice_path() -> str:
2793
+ ...
2794
+ def logging_effective(arg0: str) -> bool:
2795
+ ...
2796
+ def make_arg_load_expr(arg_id: list[int], dt: DataType, is_ptr: bool = False, create_load: bool = True, arg_depth: int = 0, dbg_info: DebugInfo = ...) -> Expr:
2797
+ ...
2798
+ def make_binary_op_expr(arg0: BinaryOpType, arg1: Expr, arg2: Expr) -> Expr:
2799
+ ...
2800
+ def make_const_expr_bool(arg0: DataType, arg1: bool | np.bool_) -> Expr:
2801
+ ...
2802
+ def make_const_expr_fp(arg0: DataType, arg1: float | np.floating) -> Expr:
2803
+ ...
2804
+ def make_const_expr_int(arg0: DataType, arg1: int | np.int32 | np.int64) -> Expr:
2805
+ ...
2806
+ def make_cucg_solver(arg0: SparseMatrix, arg1: int, arg2: float, arg3: bool) -> CUCG:
2807
+ ...
2808
+ def make_cusparse_solver(arg0: DataType, arg1: str, arg2: str) -> SparseSolver:
2809
+ ...
2810
+ def make_double_cg_solver(arg0: SparseMatrix, arg1: int, arg2: float, arg3: bool) -> CGd:
2811
+ ...
2812
+ def make_external_tensor_expr(arg0: DataType, arg1: int, arg2: list[int], arg3: bool, arg4: int, arg5: BoundaryMode) -> Expr:
2813
+ ...
2814
+ def make_external_tensor_grad_expr(arg0: Expr) -> Expr:
2815
+ ...
2816
+ def make_float_cg_solver(arg0: SparseMatrix, arg1: int, arg2: float, arg3: bool) -> CGf:
2817
+ ...
2818
+ def make_frontend_assign_stmt(arg0: Expr, arg1: Expr, arg2: DebugInfo) -> Stmt:
2819
+ ...
2820
+ def make_get_element_expr(arg0: Expr, arg1: tuple[int, ...], arg2: DebugInfo) -> Expr:
2821
+ ...
2822
+ def make_global_load_stmt(arg0: Stmt) -> Stmt:
2823
+ ...
2824
+ def make_global_store_stmt(arg0: Stmt, arg1: Stmt) -> Stmt:
2825
+ ...
2826
+ def make_rand_expr(arg0: DataType, arg1: DebugInfo) -> Expr:
2827
+ ...
2828
+ def make_reference(arg0: Expr, arg1: DebugInfo) -> Expr:
2829
+ ...
2830
+ def make_rw_texture_ptr_expr(arg0: list[int], arg1: int, arg2: int, arg3: Format, arg4: int, arg5: DebugInfo) -> Expr:
2831
+ ...
2832
+ def make_sparse_solver(arg0: DataType, arg1: str, arg2: str) -> SparseSolver:
2833
+ ...
2834
+ def make_texture_ptr_expr(arg0: list[int], arg1: int, arg2: int, arg3: DebugInfo) -> Expr:
2835
+ ...
2836
+ def make_unary_op_expr(arg0: UnaryOpType, arg1: Expr) -> Expr:
2837
+ ...
2838
+ def pop_python_print_buffer() -> str:
2839
+ ...
2840
+ def print_all_units() -> None:
2841
+ ...
2842
+ def print_profile_info() -> None:
2843
+ ...
2844
+ def promoted_type(arg0: DataType, arg1: DataType) -> DataType:
2845
+ ...
2846
+ def query_int64(arg0: str) -> int:
2847
+ ...
2848
+ def relation_by_orders(arg0: int, arg1: int) -> MeshRelationType:
2849
+ ...
2850
+ def reset_default_compile_config() -> None:
2851
+ ...
2852
+ def set_core_state_python_imported(arg0: bool) -> None:
2853
+ ...
2854
+ def set_core_trigger_gdb_when_crash(arg0: bool) -> None:
2855
+ ...
2856
+ def set_index_mapping(arg0: MeshPtr, arg1: MeshElementType, arg2: ConvType, arg3: SNode) -> None:
2857
+ ...
2858
+ def set_lib_dir(arg0: str) -> None:
2859
+ ...
2860
+ def set_logging_level(arg0: str) -> None:
2861
+ ...
2862
+ def set_logging_level_default() -> None:
2863
+ ...
2864
+ def set_num_elements(arg0: MeshPtr, arg1: MeshElementType, arg2: int) -> None:
2865
+ ...
2866
+ def set_num_patches(arg0: MeshPtr, arg1: int) -> None:
2867
+ ...
2868
+ def set_owned_offset(arg0: MeshPtr, arg1: MeshElementType, arg2: SNode) -> None:
2869
+ ...
2870
+ def set_patch_max_element_num(arg0: MeshPtr, arg1: MeshElementType, arg2: int) -> None:
2871
+ ...
2872
+ def set_python_package_dir(arg0: str) -> None:
2873
+ ...
2874
+ def set_relation_dynamic(arg0: MeshPtr, arg1: MeshRelationType, arg2: SNode, arg3: SNode, arg4: SNode) -> None:
2875
+ ...
2876
+ def set_relation_fixed(arg0: MeshPtr, arg1: MeshRelationType, arg2: SNode) -> None:
2877
+ ...
2878
+ def set_tmp_dir(arg0: str) -> None:
2879
+ ...
2880
+ def set_total_offset(arg0: MeshPtr, arg1: MeshElementType, arg2: SNode) -> None:
2881
+ ...
2882
+ def set_vulkan_visible_device(arg0: str) -> None:
2883
+ ...
2884
+ def start_memory_monitoring(arg0: str, arg1: int, arg2: float) -> None:
2885
+ ...
2886
+ def subscript_with_multiple_indices(arg0: Expr, arg1: list[ExprGroup], arg2: list[int], arg3: DebugInfo) -> Expr:
2887
+ ...
2888
+ def test_cpp_exception() -> None:
2889
+ ...
2890
+ def test_logging() -> None:
2891
+ ...
2892
+ def test_printf() -> None:
2893
+ ...
2894
+ def test_raise_error() -> None:
2895
+ ...
2896
+ def test_threading() -> bool:
2897
+ ...
2898
+ @typing.overload
2899
+ def test_throw() -> None:
2900
+ ...
2901
+ @typing.overload
2902
+ def test_throw() -> None:
2903
+ ...
2904
+ def to_end_element_order(arg0: MeshRelationType) -> int:
2905
+ ...
2906
+ def toggle_python_print_buffer(arg0: bool) -> None:
2907
+ ...
2908
+ def trace(arg0: str) -> None:
2909
+ ...
2910
+ def trigger_crash() -> None:
2911
+ ...
2912
+ def trigger_sig_fpe() -> int:
2913
+ ...
2914
+ def value_cast(arg0: Expr, arg1: DataType) -> Expr:
2915
+ ...
2916
+ def wait_for_debugger() -> None:
2917
+ ...
2918
+ def warn(arg0: str) -> None:
2919
+ ...
2920
+ def with_amdgpu() -> bool:
2921
+ ...
2922
+ def with_cuda() -> bool:
2923
+ ...
2924
+ def with_dx11() -> bool:
2925
+ ...
2926
+ def with_dx12() -> bool:
2927
+ ...
2928
+ def with_metal() -> bool:
2929
+ ...
2930
+ def with_opengl(arg0: bool) -> bool:
2931
+ ...
2932
+ def with_vulkan() -> bool:
2933
+ ...
2934
+ ADJOINT: SNodeGradType # value = <SNodeGradType.ADJOINT: 1>
2935
+ ADJOINT_CHECKBIT: SNodeGradType # value = <SNodeGradType.ADJOINT_CHECKBIT: 3>
2936
+ AOS: Layout # value = <Layout.AOS: 0>
2937
+ CC: MeshRelationType # value = <MeshRelationType.CC: 15>
2938
+ CE: MeshRelationType # value = <MeshRelationType.CE: 13>
2939
+ CF: MeshRelationType # value = <MeshRelationType.CF: 14>
2940
+ CLAMP: BoundaryMode # value = <BoundaryMode.CLAMP: 1>
2941
+ CV: MeshRelationType # value = <MeshRelationType.CV: 12>
2942
+ Cell: MeshElementType # value = <MeshElementType.Cell: 3>
2943
+ DUAL: SNodeGradType # value = <SNodeGradType.DUAL: 2>
2944
+ DataType_f16: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2945
+ DataType_f32: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2946
+ DataType_f64: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2947
+ DataType_gen: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2948
+ DataType_i16: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2949
+ DataType_i32: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2950
+ DataType_i64: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2951
+ DataType_i8: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2952
+ DataType_u1: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2953
+ DataType_u16: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2954
+ DataType_u32: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2955
+ DataType_u64: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2956
+ DataType_u8: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2957
+ DataType_unknown: DataType # value = <taichi._lib.core.taichi_python.DataType object>
2958
+ EC: MeshRelationType # value = <MeshRelationType.EC: 7>
2959
+ EE: MeshRelationType # value = <MeshRelationType.EE: 5>
2960
+ EF: MeshRelationType # value = <MeshRelationType.EF: 6>
2961
+ EV: MeshRelationType # value = <MeshRelationType.EV: 4>
2962
+ Edge: MeshElementType # value = <MeshElementType.Edge: 1>
2963
+ FC: MeshRelationType # value = <MeshRelationType.FC: 11>
2964
+ FE: MeshRelationType # value = <MeshRelationType.FE: 9>
2965
+ FF: MeshRelationType # value = <MeshRelationType.FF: 10>
2966
+ FORWARD: AutodiffMode # value = <AutodiffMode.FORWARD: 0>
2967
+ FV: MeshRelationType # value = <MeshRelationType.FV: 8>
2968
+ Face: MeshElementType # value = <MeshElementType.Face: 2>
2969
+ MATRIX: ArgKind # value = <ArgKind.MATRIX: 1>
2970
+ NDARRAY: ArgKind # value = <ArgKind.NDARRAY: 2>
2971
+ NONE: AutodiffMode # value = <AutodiffMode.NONE: 2>
2972
+ NULL: Layout # value = <Layout.NULL: 2>
2973
+ PRIMAL: SNodeGradType # value = <SNodeGradType.PRIMAL: 0>
2974
+ REVERSE: AutodiffMode # value = <AutodiffMode.REVERSE: 1>
2975
+ RWTEXTURE: ArgKind # value = <ArgKind.RWTEXTURE: 4>
2976
+ SCALAR: ArgKind # value = <ArgKind.SCALAR: 0>
2977
+ SOA: Layout # value = <Layout.SOA: 1>
2978
+ TEXTURE: ArgKind # value = <ArgKind.TEXTURE: 3>
2979
+ Tetrahedron: MeshTopology # value = <MeshTopology.Tetrahedron: 4>
2980
+ Triangle: MeshTopology # value = <MeshTopology.Triangle: 3>
2981
+ UNSAFE: BoundaryMode # value = <BoundaryMode.UNSAFE: 0>
2982
+ VALIDATION: AutodiffMode # value = <AutodiffMode.VALIDATION: 3>
2983
+ VC: MeshRelationType # value = <MeshRelationType.VC: 3>
2984
+ VE: MeshRelationType # value = <MeshRelationType.VE: 1>
2985
+ VF: MeshRelationType # value = <MeshRelationType.VF: 2>
2986
+ VV: MeshRelationType # value = <MeshRelationType.VV: 0>
2987
+ Vertex: MeshElementType # value = <MeshElementType.Vertex: 0>
2988
+ abs: UnaryOpType # value = <UnaryOpType.abs: 8>
2989
+ acos: UnaryOpType # value = <UnaryOpType.acos: 13>
2990
+ add: BinaryOpType # value = <BinaryOpType.add: 1>
2991
+ adstack: Extension # value = <Extension.adstack: 5>
2992
+ amdgpu: Arch # value = <Arch.amdgpu: 9>
2993
+ arm64: Arch # value = <Arch.arm64: 1>
2994
+ asin: UnaryOpType # value = <UnaryOpType.asin: 11>
2995
+ assertion: Extension # value = <Extension.assertion: 7>
2996
+ atan2: BinaryOpType # value = <BinaryOpType.atan2: 21>
2997
+ bit_and: BinaryOpType # value = <BinaryOpType.bit_and: 9>
2998
+ bit_not: UnaryOpType # value = <UnaryOpType.bit_not: 23>
2999
+ bit_or: BinaryOpType # value = <BinaryOpType.bit_or: 10>
3000
+ bit_sar: BinaryOpType # value = <BinaryOpType.bit_sar: 14>
3001
+ bit_shl: BinaryOpType # value = <BinaryOpType.bit_shl: 12>
3002
+ bit_shr: BinaryOpType # value = <BinaryOpType.bit_shr: 13>
3003
+ bit_struct: SNodeType # value = <SNodeType.bit_struct: 7>
3004
+ bit_xor: BinaryOpType # value = <BinaryOpType.bit_xor: 11>
3005
+ bitmasked: SNodeType # value = <SNodeType.bitmasked: 4>
3006
+ block_local: SNodeAccessFlag # value = <SNodeAccessFlag.block_local: 0>
3007
+ bls: Extension # value = <Extension.bls: 6>
3008
+ cast_bits: UnaryOpType # value = <UnaryOpType.cast_bits: 7>
3009
+ cast_value: UnaryOpType # value = <UnaryOpType.cast_value: 6>
3010
+ ceil: UnaryOpType # value = <UnaryOpType.ceil: 5>
3011
+ clz: UnaryOpType # value = <UnaryOpType.clz: 21>
3012
+ cmp_eq: BinaryOpType # value = <BinaryOpType.cmp_eq: 19>
3013
+ cmp_ge: BinaryOpType # value = <BinaryOpType.cmp_ge: 18>
3014
+ cmp_gt: BinaryOpType # value = <BinaryOpType.cmp_gt: 17>
3015
+ cmp_le: BinaryOpType # value = <BinaryOpType.cmp_le: 16>
3016
+ cmp_lt: BinaryOpType # value = <BinaryOpType.cmp_lt: 15>
3017
+ cmp_ne: BinaryOpType # value = <BinaryOpType.cmp_ne: 20>
3018
+ cos: UnaryOpType # value = <UnaryOpType.cos: 12>
3019
+ cuda: Arch # value = <Arch.cuda: 3>
3020
+ data64: Extension # value = <Extension.data64: 4>
3021
+ dense: SNodeType # value = <SNodeType.dense: 1>
3022
+ div: BinaryOpType # value = <BinaryOpType.div: 5>
3023
+ dx11: Arch # value = <Arch.dx11: 6>
3024
+ dx12: Arch # value = <Arch.dx12: 7>
3025
+ dynamic: SNodeType # value = <SNodeType.dynamic: 2>
3026
+ exp: UnaryOpType # value = <UnaryOpType.exp: 18>
3027
+ extfunc: Extension # value = <Extension.extfunc: 8>
3028
+ floor: UnaryOpType # value = <UnaryOpType.floor: 3>
3029
+ floordiv: BinaryOpType # value = <BinaryOpType.floordiv: 4>
3030
+ frexp: UnaryOpType # value = <UnaryOpType.frexp: 4>
3031
+ g2r: ConvType # value = <ConvType.g2r: 2>
3032
+ gles: Arch # value = <Arch.gles: 11>
3033
+ hash: SNodeType # value = <SNodeType.hash: 5>
3034
+ inv: UnaryOpType # value = <UnaryOpType.inv: 16>
3035
+ js: Arch # value = <Arch.js: 2>
3036
+ kFetchTexel: TextureOpType # value = <TextureOpType.kFetchTexel: 2>
3037
+ kLoad: TextureOpType # value = <TextureOpType.kLoad: 3>
3038
+ kSampleLod: TextureOpType # value = <TextureOpType.kSampleLod: 1>
3039
+ kStore: TextureOpType # value = <TextureOpType.kStore: 4>
3040
+ kUndefined: TextureOpType # value = <TextureOpType.kUndefined: 0>
3041
+ l2g: ConvType # value = <ConvType.l2g: 0>
3042
+ l2r: ConvType # value = <ConvType.l2r: 1>
3043
+ log: UnaryOpType # value = <UnaryOpType.log: 19>
3044
+ logic_not: UnaryOpType # value = <UnaryOpType.logic_not: 24>
3045
+ max: BinaryOpType # value = <BinaryOpType.max: 7>
3046
+ mesh: Extension # value = <Extension.mesh: 2>
3047
+ mesh_local: SNodeAccessFlag # value = <SNodeAccessFlag.mesh_local: 2>
3048
+ metal: Arch # value = <Arch.metal: 4>
3049
+ min: BinaryOpType # value = <BinaryOpType.min: 8>
3050
+ mod: BinaryOpType # value = <BinaryOpType.mod: 6>
3051
+ mul: BinaryOpType # value = <BinaryOpType.mul: 0>
3052
+ neg: UnaryOpType # value = <UnaryOpType.neg: 0>
3053
+ opencl: Arch # value = <Arch.opencl: 8>
3054
+ opengl: Arch # value = <Arch.opengl: 5>
3055
+ place: SNodeType # value = <SNodeType.place: 6>
3056
+ pointer: SNodeType # value = <SNodeType.pointer: 3>
3057
+ popcnt: UnaryOpType # value = <UnaryOpType.popcnt: 20>
3058
+ pow: BinaryOpType # value = <BinaryOpType.pow: 22>
3059
+ quant: Extension # value = <Extension.quant: 1>
3060
+ quant_array: SNodeType # value = <SNodeType.quant_array: 8>
3061
+ quant_basic: Extension # value = <Extension.quant_basic: 3>
3062
+ rcp: UnaryOpType # value = <UnaryOpType.rcp: 17>
3063
+ read_only: SNodeAccessFlag # value = <SNodeAccessFlag.read_only: 1>
3064
+ root: SNodeType # value = <SNodeType.root: 0>
3065
+ round: UnaryOpType # value = <UnaryOpType.round: 2>
3066
+ rsqrt: UnaryOpType # value = <UnaryOpType.rsqrt: 22>
3067
+ sgn: UnaryOpType # value = <UnaryOpType.sgn: 9>
3068
+ sin: UnaryOpType # value = <UnaryOpType.sin: 10>
3069
+ sparse: Extension # value = <Extension.sparse: 0>
3070
+ sqrt: UnaryOpType # value = <UnaryOpType.sqrt: 1>
3071
+ sub: BinaryOpType # value = <BinaryOpType.sub: 2>
3072
+ tan: UnaryOpType # value = <UnaryOpType.tan: 14>
3073
+ tanh: UnaryOpType # value = <UnaryOpType.tanh: 15>
3074
+ truediv: BinaryOpType # value = <BinaryOpType.truediv: 3>
3075
+ undefined: UnaryOpType # value = <UnaryOpType.undefined: 25>
3076
+ vulkan: Arch # value = <Arch.vulkan: 10>
3077
+ x64: Arch # value = <Arch.x64: 0>