Coverage for cuda/bindings/cynvrtc.pyx: 91.53%
59 statements
« prev ^ index » next coverage.py v7.18.0, created at 2026-12-03 01:06 +0000
« prev ^ index » next coverage.py v7.18.0, created at 2026-12-03 01:06 +0000
1# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2#
3# SPDX-License-Identifier: Apache-2.0
4#
5# This code was automatically generated across versions from 12.9.0 to 13.5.0. Do not modify it directly.
7# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f32db7aa3b232dc0ee7bf3d1de8c12b62eb28d7b9926e2c6248244ddea5af3aa
8from ._internal cimport nvrtc as _nvrtc
10cdef const char* nvrtcGetErrorString(nvrtcResult result) except?NULL nogil:
11 return _nvrtc._nvrtcGetErrorString(result) 2E ;f$fF f
14cdef nvrtcResult nvrtcVersion(int* major, int* minor) except ?NVRTC_ERROR_INVALID_INPUT nogil:
15 return _nvrtc._nvrtcVersion(major, minor) 2a h i j k l m n o p q r s t u v w x y Zd=f?f0d1d2d3d4d5d6d7d8d9d!d#d$d%d'd(d)d*d+d,d-d.d/d:d;d=d?d@d[d]d^d_d`d{d@f|d}dz ~daec d e [fA ]fB ^fC _f`fG b beH cedeeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeI KeLeMeF D NeOePeQeReSeTeUe{fVeWeXef Ye|f}f~fagbgcgdgegfggghgigjgkglgmgngogpgqgrgsgtgugvgwgxgygzgAgBgCgDg%f'f(f)fZe*f+f,f-f0e
18cdef nvrtcResult nvrtcGetNumSupportedArchs(int* numArchs) except ?NVRTC_ERROR_INVALID_INPUT nogil:
19 return _nvrtc._nvrtcGetNumSupportedArchs(numArchs) 2.f/fb
22cdef nvrtcResult nvrtcGetSupportedArchs(int* supportedArchs) except ?NVRTC_ERROR_INVALID_INPUT nogil:
23 return _nvrtc._nvrtcGetSupportedArchs(supportedArchs) 2.f/fb
26cdef nvrtcResult nvrtcCreateProgram(nvrtcProgram* prog, const char* src, const char* name, int numHeaders, const char** headers, const char** includeNames) except ?NVRTC_ERROR_INVALID_INPUT nogil:
27 return _nvrtc._nvrtcCreateProgram(prog, src, name, numHeaders, headers, includeNames) 2J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWb-eXbYbZb0b1b2b3b4b5b6b7b8b9b!b#b$b.e%b'b(b)b/e*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{bh i j k l m n o 1e2e3e4e5e6e7e8e9e!e#e$e%e'e(e)e*e+e:e;e=eE ?e@e[e]e^e_e`e{ep q r s t u v w x y |e}e~e|b}baf~bacbfcfdfbcccdcecfcgchcicjckclcmcZdef0d1d2dffgf3d4d5d6d7d8d9d!d#d$d%d'd(d)d*d+d,d-d.d/d:d;d=d?d@d[d]d^d_d`d{d|dhf}difncz ~djfkflfmfnfofocaepcqcrcsctcucvcwcxcpfyczcAcBcCcDcEcFcGcHcIcJcKcLcqfMcNcOcPcc d e QcRcScA B C rfsfTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBdtfufvfwfxfyfzfAfBfCfDfEfFfGfHfIfJfKf,eEgCdLfDdMfNfEdOfFdPfGdQfHdRfIdSfTfJdUfKdVfWfFgLdXfMdYfNdZfOd0fPd1fQd2fRd3fSd4fTd5fUd6fVd7fWd8fGgXd9fYd!fHgIgG b beH cedeeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeI KeLeMeg F D NeOePeQeReSeTeUeJgKgLgMgNgVeOgPgWeXef Ye%f'f(f)fZe*f+fQgRgSgTg,fUg-f0eVg#f
30cdef nvrtcResult nvrtcDestroyProgram(nvrtcProgram* prog) except ?NVRTC_ERROR_INVALID_INPUT nogil:
31 return _nvrtc._nvrtcDestroyProgram(prog) 21e2e3e4e5e6e7e8e9e!e#e$e%e'e(e)e*e+eE ,e
34cdef nvrtcResult nvrtcCompileProgram(nvrtcProgram prog, int numOptions, const char** options) except ?NVRTC_ERROR_INVALID_INPUT nogil:
35 return _nvrtc._nvrtcCompileProgram(prog, numOptions, options) 2J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWb-eXbYbZb0b1b2b3b4b5b6b7b8b9b!b#b$b.e%b'b(b)b/e*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{bh i j k l m n o 1e2e3e4e5e6e7e8e9e!e#e$e%e'e(e)e*e+e:e;e=eE ?e@e[e]e^e_e`e{ep q r s t u v w x y |e}e~e|b}baf~bacbfcfdfbcccdcecfcgchcicjckclcmcZdef0d1d2dffgf3d4d5d6d7d8d9d!d#d$d%d'd(d)d*d+d,d-d.d/d:d;d=d?d@d[d]d^d_d`d{d|dhf}difncz ~djfkflfmfnfofocaepcqcrcsctcucvcwcxcpfyczcAcBcCcDcEcFcGcHcIcJcKcLcqfMcNcOcPcc d e QcRcScA B C rfsfTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBdtfufvfwfxfyfzfAfBfCfDfEfFfGfHfIfJfKf,eCdLfDdMfNfEdOfFdPfGdQfHdRfIdSfTfJdUfKdVfWfLdXfMdYfNdZfOd0fPd1fQd2fRd3fSd4fTd5fUd6fVd7fWd8fXd9fYd!fG b beH cedeeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeI KeLeMeg F D NeOePeQeReSeTeUeVeWeXef YeZe0e#f
38cdef nvrtcResult nvrtcGetPTXSize(nvrtcProgram prog, size_t* ptxSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil:
39 return _nvrtc._nvrtcGetPTXSize(prog, ptxSizeRet) 2Zd0d1d2d3d4d5d6d7d8d9d!d#d$d%d'd(d)d*d+d,d-d.d/d:d;d=d?d@d[d]d^d_d`d{d|d}dz ~daec d e A B C G b beH cedeeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeI KeLeMeD NeOePeQeReSeTeUeVeWeXef
42cdef nvrtcResult nvrtcGetPTX(nvrtcProgram prog, char* ptx) except ?NVRTC_ERROR_INVALID_INPUT nogil:
43 return _nvrtc._nvrtcGetPTX(prog, ptx) 2Zd0d1d2d3d4d5d6d7d8d9d!d#d$d%d'd(d)d*d+d,d-d.d/d:d;d=d?d@d[d]d^d_d`d{d|d}dz ~daec d e A B C G b beH cedeeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeI KeLeMeD NeOePeQeReSeTeUeVeWeXef
46cdef nvrtcResult nvrtcGetCUBINSize(nvrtcProgram prog, size_t* cubinSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil:
47 return _nvrtc._nvrtcGetCUBINSize(prog, cubinSizeRet) 2J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWb-eXbYbZb0b1b2b3b4b5b6b7b8b9b!b#b$b.e%b'b(b)b/e*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{bh i j k l m n o 5e6e7e8e9e!e:e;e=e?e@e[e]e^e_e`e{ep q r s t u v w x y |e}e~e|b}baf~bacbfcfdfbcccdcecfcgchcicjckclcmcncjfkflfmfnfofocpcqcrcsctcucvcwcxcpfyczcAcBcCcDcEcFcGcHcIcJcKcLcqfMcNcOcPcc d e rfsfTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBdxfyfzfAfBfCfCdLfDdMfNfEdOfFdPfGdQfHdRfIdSfTfJdUfKdVfLdXfMdYfNdZfOd0fPd1fQd2fRd3fSd4fTd5fUd6fVd7fWd8fXd9fYd!fg YeZe0e#f
50cdef nvrtcResult nvrtcGetCUBIN(nvrtcProgram prog, char* cubin) except ?NVRTC_ERROR_INVALID_INPUT nogil:
51 return _nvrtc._nvrtcGetCUBIN(prog, cubin) 2J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWb-eXbYbZb0b1b2b3b4b5b6b7b8b9b!b#b$b.e%b'b(b)b/e*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{bh i j k l m n o 5e6e7e8e9e!e:e;e=e?e@e[e]e^e_e`e{ep q r s t u v w x y |e}e~e|b}baf~bacbfcfdfbcccdcecfcgchcicjckclcmcncjfkflfmfnfofocpcqcrcsctcucvcwcxcpfyczcAcBcCcDcEcFcGcHcIcJcKcLcqfMcNcOcPcc d e rfsfTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBdxfyfzfAfBfCfCdLfDdMfNfEdOfFdPfGdQfHdRfIdSfTfJdUfKdVfLdXfMdYfNdZfOd0fPd1fQd2fRd3fSd4fTd5fUd6fVd7fWd8fXd9fYd!fg YeZe0e#f
54cdef nvrtcResult nvrtcGetLTOIRSize(nvrtcProgram prog, size_t* LTOIRSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil:
55 return _nvrtc._nvrtcGetLTOIRSize(prog, LTOIRSizeRet) 21e2e3e4e#e$e%e'e(e)e*e+eefffgfhfifncz QcRcSctfufvfwfDfEfFfGfHfIfJfKfWf
58cdef nvrtcResult nvrtcGetLTOIR(nvrtcProgram prog, char* LTOIR) except ?NVRTC_ERROR_INVALID_INPUT nogil:
59 return _nvrtc._nvrtcGetLTOIR(prog, LTOIR) 21e2e3e4e#e$e%e'e(e)e*e+eefffgfhfifncz QcRcSctfufvfwfDfEfFfGfHfIfJfKfWf
62cdef nvrtcResult nvrtcGetOptiXIRSize(nvrtcProgram prog, size_t* optixirSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil:
63 return _nvrtc._nvrtcGetOptiXIRSize(prog, optixirSizeRet)
66cdef nvrtcResult nvrtcGetOptiXIR(nvrtcProgram prog, char* optixir) except ?NVRTC_ERROR_INVALID_INPUT nogil:
67 return _nvrtc._nvrtcGetOptiXIR(prog, optixir)
70cdef nvrtcResult nvrtcGetProgramLogSize(nvrtcProgram prog, size_t* logSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil:
71 return _nvrtc._nvrtcGetProgramLogSize(prog, logSizeRet) 1hijklmnoEpqrstuvwxygFDf
74cdef nvrtcResult nvrtcGetProgramLog(nvrtcProgram prog, char* log) except ?NVRTC_ERROR_INVALID_INPUT nogil:
75 return _nvrtc._nvrtcGetProgramLog(prog, log) 1hijklmnoEpqrstuvwxygFDf
78cdef nvrtcResult nvrtcAddNameExpression(nvrtcProgram prog, const char* name_expression) except ?NVRTC_ERROR_INVALID_INPUT nogil:
79 return _nvrtc._nvrtcAddNameExpression(prog, name_expression) 2J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcecfcgchcicjckclcmcocpcqcrcsctcucvcwcxcyczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcOcPcc d e QcRcScA B C TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBd,eCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYd
82cdef nvrtcResult nvrtcGetLoweredName(nvrtcProgram prog, const char* name_expression, const char** lowered_name) except ?NVRTC_ERROR_INVALID_INPUT nogil:
83 return _nvrtc._nvrtcGetLoweredName(prog, name_expression, lowered_name) 2J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{bWg|b}b~bacbcccdcecfcgchcicjckclcmcocpcqcrcsctcucvcwcxcyczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcOcPcc d e QcRcScA B C TcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!c#c$c%c'c(c)c*c+c,c-c.c/c:c;c=c?c@c[c]c^c_c`c{c|c}c~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBd$f,eCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYd
86cdef nvrtcResult nvrtcGetPCHHeapSize(size_t* ret) except ?NVRTC_ERROR_INVALID_INPUT nogil:
87 return _nvrtc._nvrtcGetPCHHeapSize(ret) 1bg
90cdef nvrtcResult nvrtcSetPCHHeapSize(size_t size) except ?NVRTC_ERROR_INVALID_INPUT nogil:
91 return _nvrtc._nvrtcSetPCHHeapSize(size) 1b
94cdef nvrtcResult nvrtcGetPCHCreateStatus(nvrtcProgram prog) except ?NVRTC_ERROR_INVALID_INPUT nogil:
95 return _nvrtc._nvrtcGetPCHCreateStatus(prog) 1GbHIg
98cdef nvrtcResult nvrtcGetPCHHeapSizeRequired(nvrtcProgram prog, size_t* size) except ?NVRTC_ERROR_INVALID_INPUT nogil:
99 return _nvrtc._nvrtcGetPCHHeapSizeRequired(prog, size) 1b
102cdef nvrtcResult nvrtcSetFlowCallback(nvrtcProgram prog, void * callback, void* payload) except ?NVRTC_ERROR_INVALID_INPUT nogil:
103 return _nvrtc._nvrtcSetFlowCallback(prog, callback, payload)
106cdef nvrtcResult nvrtcGetTileIRSize(nvrtcProgram prog, size_t* TileIRSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil:
107 return _nvrtc._nvrtcGetTileIRSize(prog, TileIRSizeRet)
110cdef nvrtcResult nvrtcGetTileIR(nvrtcProgram prog, char* TileIR) except ?NVRTC_ERROR_INVALID_INPUT nogil:
111 return _nvrtc._nvrtcGetTileIR(prog, TileIR)
114cdef nvrtcResult nvrtcInstallBundledHeaders(const char* installPath, unsigned int flags, const char** errorLog) except ?NVRTC_ERROR_INVALID_INPUT nogil:
115 return _nvrtc._nvrtcInstallBundledHeaders(installPath, flags, errorLog) 2:f
118cdef nvrtcResult nvrtcGetBundledHeadersInfo(nvrtcBundledHeadersInfo* info, const char** errorLog) except ?NVRTC_ERROR_INVALID_INPUT nogil:
119 return _nvrtc._nvrtcGetBundledHeadersInfo(info, errorLog) 2XgYg
122cdef nvrtcResult nvrtcRemoveBundledHeaders(const char* installPath, const char** errorLog) except ?NVRTC_ERROR_INVALID_INPUT nogil:
123 return _nvrtc._nvrtcRemoveBundledHeaders(installPath, errorLog) 2:f