|
| 1 | +nvvm |
| 2 | +==== |
| 3 | + |
| 4 | +The ``cuda.bindings.nvvm`` Python module wraps the |
| 5 | +`libNVVM C API <https://docs.nvidia.com/cuda/libnvvm-api/>`_. |
| 6 | + |
| 7 | +Functions |
| 8 | +--------- |
| 9 | + |
| 10 | +.. autofunction:: cuda.bindings.nvvm.version |
| 11 | +.. autofunction:: cuda.bindings.nvvm.ir_version |
| 12 | +.. autofunction:: cuda.bindings.nvvm.create_program |
| 13 | +.. autofunction:: cuda.bindings.nvvm.add_module_to_program |
| 14 | +.. autofunction:: cuda.bindings.nvvm.lazy_add_module_to_program |
| 15 | +.. autofunction:: cuda.bindings.nvvm.compile_program |
| 16 | +.. autofunction:: cuda.bindings.nvvm.verify_program |
| 17 | +.. autofunction:: cuda.bindings.nvvm.get_compiled_result_size |
| 18 | +.. autofunction:: cuda.bindings.nvvm.get_compiled_result |
| 19 | +.. autofunction:: cuda.bindings.nvvm.get_program_log_size |
| 20 | +.. autofunction:: cuda.bindings.nvvm.get_program_log |
| 21 | + |
| 22 | +Types |
| 23 | +----- |
| 24 | + |
| 25 | +.. |
| 26 | + The empty lines below are important! |
| 27 | +
|
| 28 | +.. autoclass:: cuda.bindings.nvvm.Result |
| 29 | + |
| 30 | + .. autoattribute:: cuda.bindings.nvvm.Result.SUCCESS |
| 31 | + |
| 32 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_OUT_OF_MEMORY |
| 33 | + |
| 34 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_PROGRAM_CREATION_FAILURE |
| 35 | + |
| 36 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_IR_VERSION_MISMATCH |
| 37 | + |
| 38 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_INVALID_INPUT |
| 39 | + |
| 40 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_INVALID_PROGRAM |
| 41 | + |
| 42 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_INVALID_IR |
| 43 | + |
| 44 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_INVALID_OPTION |
| 45 | + |
| 46 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_NO_MODULE_IN_PROGRAM |
| 47 | + |
| 48 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_COMPILATION |
| 49 | + |
| 50 | + .. autoattribute:: cuda.bindings.nvvm.Result.ERROR_CANCELLED |
0 commit comments