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