|
1 | 1 | # SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
2 | 2 | # SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE |
3 | 3 |
|
4 | | -# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly. |
| 4 | +# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly. |
5 | 5 | from cuda.bindings.cynvrtc cimport * |
6 | 6 |
|
7 | | -{{if 'nvrtcGetErrorString' in found_functions}} |
| 7 | + |
8 | 8 |
|
9 | 9 | cdef const char* _nvrtcGetErrorString(nvrtcResult result) except ?NULL nogil |
10 | | -{{endif}} |
11 | 10 |
|
12 | | -{{if 'nvrtcVersion' in found_functions}} |
| 11 | + |
| 12 | + |
13 | 13 |
|
14 | 14 | cdef nvrtcResult _nvrtcVersion(int* major, int* minor) except ?NVRTC_ERROR_INVALID_INPUT nogil |
15 | | -{{endif}} |
16 | 15 |
|
17 | | -{{if 'nvrtcGetNumSupportedArchs' in found_functions}} |
| 16 | + |
| 17 | + |
18 | 18 |
|
19 | 19 | cdef nvrtcResult _nvrtcGetNumSupportedArchs(int* numArchs) except ?NVRTC_ERROR_INVALID_INPUT nogil |
20 | | -{{endif}} |
21 | 20 |
|
22 | | -{{if 'nvrtcGetSupportedArchs' in found_functions}} |
| 21 | + |
| 22 | + |
23 | 23 |
|
24 | 24 | cdef nvrtcResult _nvrtcGetSupportedArchs(int* supportedArchs) except ?NVRTC_ERROR_INVALID_INPUT nogil |
25 | | -{{endif}} |
26 | 25 |
|
27 | | -{{if 'nvrtcCreateProgram' in found_functions}} |
| 26 | + |
| 27 | + |
28 | 28 |
|
29 | 29 | cdef nvrtcResult _nvrtcCreateProgram(nvrtcProgram* prog, const char* src, const char* name, int numHeaders, const char** headers, const char** includeNames) except ?NVRTC_ERROR_INVALID_INPUT nogil |
30 | | -{{endif}} |
31 | 30 |
|
32 | | -{{if 'nvrtcDestroyProgram' in found_functions}} |
| 31 | + |
| 32 | + |
33 | 33 |
|
34 | 34 | cdef nvrtcResult _nvrtcDestroyProgram(nvrtcProgram* prog) except ?NVRTC_ERROR_INVALID_INPUT nogil |
35 | | -{{endif}} |
36 | 35 |
|
37 | | -{{if 'nvrtcCompileProgram' in found_functions}} |
| 36 | + |
| 37 | + |
38 | 38 |
|
39 | 39 | cdef nvrtcResult _nvrtcCompileProgram(nvrtcProgram prog, int numOptions, const char** options) except ?NVRTC_ERROR_INVALID_INPUT nogil |
40 | | -{{endif}} |
41 | 40 |
|
42 | | -{{if 'nvrtcGetPTXSize' in found_functions}} |
| 41 | + |
| 42 | + |
43 | 43 |
|
44 | 44 | cdef nvrtcResult _nvrtcGetPTXSize(nvrtcProgram prog, size_t* ptxSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil |
45 | | -{{endif}} |
46 | 45 |
|
47 | | -{{if 'nvrtcGetPTX' in found_functions}} |
| 46 | + |
| 47 | + |
48 | 48 |
|
49 | 49 | cdef nvrtcResult _nvrtcGetPTX(nvrtcProgram prog, char* ptx) except ?NVRTC_ERROR_INVALID_INPUT nogil |
50 | | -{{endif}} |
51 | 50 |
|
52 | | -{{if 'nvrtcGetCUBINSize' in found_functions}} |
| 51 | + |
| 52 | + |
53 | 53 |
|
54 | 54 | cdef nvrtcResult _nvrtcGetCUBINSize(nvrtcProgram prog, size_t* cubinSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil |
55 | | -{{endif}} |
56 | 55 |
|
57 | | -{{if 'nvrtcGetCUBIN' in found_functions}} |
| 56 | + |
| 57 | + |
58 | 58 |
|
59 | 59 | cdef nvrtcResult _nvrtcGetCUBIN(nvrtcProgram prog, char* cubin) except ?NVRTC_ERROR_INVALID_INPUT nogil |
60 | | -{{endif}} |
61 | 60 |
|
62 | | -{{if 'nvrtcGetLTOIRSize' in found_functions}} |
| 61 | + |
| 62 | + |
63 | 63 |
|
64 | 64 | cdef nvrtcResult _nvrtcGetLTOIRSize(nvrtcProgram prog, size_t* LTOIRSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil |
65 | | -{{endif}} |
66 | 65 |
|
67 | | -{{if 'nvrtcGetLTOIR' in found_functions}} |
| 66 | + |
| 67 | + |
68 | 68 |
|
69 | 69 | cdef nvrtcResult _nvrtcGetLTOIR(nvrtcProgram prog, char* LTOIR) except ?NVRTC_ERROR_INVALID_INPUT nogil |
70 | | -{{endif}} |
71 | 70 |
|
72 | | -{{if 'nvrtcGetOptiXIRSize' in found_functions}} |
| 71 | + |
| 72 | + |
73 | 73 |
|
74 | 74 | cdef nvrtcResult _nvrtcGetOptiXIRSize(nvrtcProgram prog, size_t* optixirSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil |
75 | | -{{endif}} |
76 | 75 |
|
77 | | -{{if 'nvrtcGetOptiXIR' in found_functions}} |
| 76 | + |
| 77 | + |
78 | 78 |
|
79 | 79 | cdef nvrtcResult _nvrtcGetOptiXIR(nvrtcProgram prog, char* optixir) except ?NVRTC_ERROR_INVALID_INPUT nogil |
80 | | -{{endif}} |
81 | 80 |
|
82 | | -{{if 'nvrtcGetProgramLogSize' in found_functions}} |
| 81 | + |
| 82 | + |
83 | 83 |
|
84 | 84 | cdef nvrtcResult _nvrtcGetProgramLogSize(nvrtcProgram prog, size_t* logSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil |
85 | | -{{endif}} |
86 | 85 |
|
87 | | -{{if 'nvrtcGetProgramLog' in found_functions}} |
| 86 | + |
| 87 | + |
88 | 88 |
|
89 | 89 | cdef nvrtcResult _nvrtcGetProgramLog(nvrtcProgram prog, char* log) except ?NVRTC_ERROR_INVALID_INPUT nogil |
90 | | -{{endif}} |
91 | 90 |
|
92 | | -{{if 'nvrtcAddNameExpression' in found_functions}} |
| 91 | + |
| 92 | + |
93 | 93 |
|
94 | 94 | cdef nvrtcResult _nvrtcAddNameExpression(nvrtcProgram prog, const char* name_expression) except ?NVRTC_ERROR_INVALID_INPUT nogil |
95 | | -{{endif}} |
96 | 95 |
|
97 | | -{{if 'nvrtcGetLoweredName' in found_functions}} |
| 96 | + |
| 97 | + |
98 | 98 |
|
99 | 99 | cdef nvrtcResult _nvrtcGetLoweredName(nvrtcProgram prog, const char* name_expression, const char** lowered_name) except ?NVRTC_ERROR_INVALID_INPUT nogil |
100 | | -{{endif}} |
101 | 100 |
|
102 | | -{{if 'nvrtcGetPCHHeapSize' in found_functions}} |
| 101 | + |
| 102 | + |
103 | 103 |
|
104 | 104 | cdef nvrtcResult _nvrtcGetPCHHeapSize(size_t* ret) except ?NVRTC_ERROR_INVALID_INPUT nogil |
105 | | -{{endif}} |
106 | 105 |
|
107 | | -{{if 'nvrtcSetPCHHeapSize' in found_functions}} |
| 106 | + |
| 107 | + |
108 | 108 |
|
109 | 109 | cdef nvrtcResult _nvrtcSetPCHHeapSize(size_t size) except ?NVRTC_ERROR_INVALID_INPUT nogil |
110 | | -{{endif}} |
111 | 110 |
|
112 | | -{{if 'nvrtcGetPCHCreateStatus' in found_functions}} |
| 111 | + |
| 112 | + |
113 | 113 |
|
114 | 114 | cdef nvrtcResult _nvrtcGetPCHCreateStatus(nvrtcProgram prog) except ?NVRTC_ERROR_INVALID_INPUT nogil |
115 | | -{{endif}} |
116 | 115 |
|
117 | | -{{if 'nvrtcGetPCHHeapSizeRequired' in found_functions}} |
| 116 | + |
| 117 | + |
118 | 118 |
|
119 | 119 | cdef nvrtcResult _nvrtcGetPCHHeapSizeRequired(nvrtcProgram prog, size_t* size) except ?NVRTC_ERROR_INVALID_INPUT nogil |
120 | | -{{endif}} |
121 | 120 |
|
122 | | -{{if 'nvrtcSetFlowCallback' in found_functions}} |
| 121 | + |
| 122 | + |
123 | 123 |
|
124 | 124 | cdef nvrtcResult _nvrtcSetFlowCallback(nvrtcProgram prog, void* callback, void* payload) except ?NVRTC_ERROR_INVALID_INPUT nogil |
125 | | -{{endif}} |
126 | 125 |
|
127 | | -{{if 'nvrtcGetTileIRSize' in found_functions}} |
| 126 | + |
| 127 | + |
128 | 128 |
|
129 | 129 | cdef nvrtcResult _nvrtcGetTileIRSize(nvrtcProgram prog, size_t* TileIRSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil |
130 | | -{{endif}} |
131 | 130 |
|
132 | | -{{if 'nvrtcGetTileIR' in found_functions}} |
| 131 | + |
| 132 | + |
133 | 133 |
|
134 | 134 | cdef nvrtcResult _nvrtcGetTileIR(nvrtcProgram prog, char* TileIR) except ?NVRTC_ERROR_INVALID_INPUT nogil |
135 | | -{{endif}} |
| 135 | + |
136 | 136 |
|
0 commit comments