Coverage for cuda / bindings / cynvrtc.pyx: 84.91%

53 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-25 01:07 +0000

1# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 

2# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE 

3  

4# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly. 

5cimport cuda.bindings._bindings.cynvrtc as cynvrtc 

6  

7cdef const char* nvrtcGetErrorString(nvrtcResult result) except ?NULL nogil: 

8 return cynvrtc._nvrtcGetErrorString(result) 25dfgd

9  

10cdef nvrtcResult nvrtcVersion(int* major, int* minor) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

11 return cynvrtc._nvrtcVersion(major, minor) 2a e f g h i j k l 6d7d8d9d!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}d~daebeggb hgc igjgm cen deeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeKeo LeMeNed PeOe

12  

13cdef nvrtcResult nvrtcGetNumSupportedArchs(int* numArchs) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

14 return cynvrtc._nvrtcGetNumSupportedArchs(numArchs) 2~f

15  

16cdef nvrtcResult nvrtcGetSupportedArchs(int* supportedArchs) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

17 return cynvrtc._nvrtcGetSupportedArchs(supportedArchs) 2~f

18  

19cdef nvrtcResult nvrtcCreateProgram(nvrtcProgram* prog, const char* src, const char* name, int numHeaders, const char** headers, const char** includeNames) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

20 return cynvrtc._nvrtcCreateProgram(prog, src, name, numHeaders, headers, includeNames) 2p q r s t u v w x y z A B C D E F G H I J 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 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbQeRe5dSeTeUee f g h i j k l VeWedbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEb6d7d8d9d!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}d~dXeaebeFbGbHbIbJbKbYeLbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1bb c 2b3b4b5b6b7b8b9b!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~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczcAcBcCcDcZe0e1e2e3e4e5e6e7e8e9e!e#e$eEc%eFc'e(eGc)eHc*eIcJcKc+eLc,eMcNcOcPcQcRcScTcUcVc-eWc.eXc/eYc:eZc0c1c;e2c=e3c4c5c?e6c@e[e]e^e_e`e{e|e}e7c~eafbfcfdf8c9c!c#c$c%c'c(c)c*c+c,cef-cff.c/cgf:chfifjfkflfmfnfofpfqf;crfsftfufvf=c?c@cwf[cxf]cyf^czf_c`c{cAf|cBf}c~cadbdcdddedfdgdhdCfidDfjdEfkdFfldmdndGfodHfpdqdrdIfsdJfKfLfMfNfOfPfQfRftdSfTfUfVfWfudvdwdxdydzdAdBdCdDdEdFdXfGdYfHdIdZfJd0f1f2f3f4f5f6f7f8f9fKd!f#f$f%f'fLdMdNd(fOd)f*f+fPd,fQd-f.fkgRd/fSd:fTd;fUd=fVd?fWd@fXd[fYd]fZd^f0d_f1d`f2d{flg3d|f4d}fmgm cen deeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeKeo LeMeNed agbgcgPedgegOe

21  

22cdef nvrtcResult nvrtcDestroyProgram(nvrtcProgram* prog) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

23 return cynvrtc._nvrtcDestroyProgram(prog) 2p q r s t u v w x y z A B C D E F G H I J 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 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbQeRe5dSeTengUeVeWedbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEb6d7d8d9d!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}d~dXeaebeFbGbHbIbJbKbYeLbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1bb c 2b3b4b5b6b7b8b9b!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~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczcAcBcCcDcZe0e1e2e3e4e5e6e7e8e9e!e#e$eEc%eFc'e(eGc)eHc*eIcJcKc+eLc,eMcNcOcPcQcRcScTcUcVc-eWc.eXc/eYc:eZc0c1c;e2c=e3c4c5c?e6c@e[e]e^e_e`e{e|e}e7c~eafbfcfdf8c9c!c#c$c%c'c(c)c*c+c,cef-cff.c/cgf:chfifjfkflfmfnfofpfqf;crfsftfufvf=c?c@cwf[cxf]cyf^czf_c`c{cAf|cBf}c~cadbdcdddedfdgdhdCfidDfjdEfkdFfldmdndGfodHfpdqdrdIfsdJfKfLfMfNfOfPfQfRftdSfTfUfVfWfudvdwdxdydzdAdBdCdDdEdFdXfGdYfHdIdZfJd0f1f2f3f4f5f6f7f8f9fKd!f#f$f%f'fLdMdNd(fOd)f*f+fPd,fQd-f.fogRd/fSd:fTd;fUd=fVd?fWd@fXd[fYd]fZd^f0d_f1d`f2d{fpg3d|f4d}fqgm cen deeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeKeo LeMeNed agbgcgdgegOe

24  

25cdef nvrtcResult nvrtcCompileProgram(nvrtcProgram prog, int numOptions, const char** options) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

26 return cynvrtc._nvrtcCompileProgram(prog, numOptions, options) 2p q r s t u v w x y z A B C D E F G H I J 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 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbQeRe5dSeTeUee f g h i j k l VeWedbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEb6d7d8d9d!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}d~dXeaebeFbGbHbIbJbKbYeLbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1bb c 2b3b4b5b6b7b8b9b!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~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczcAcBcCcDcZe0e1e2e3e4e5e6e7e8e9e!e#e$eEc%eFc'e(eGc)eHc*eIcJcKc+eLc,eMcNcOcPcQcRcScTcUcVc-eWc.eXc/eYc:eZc0c1c;e2c=e3c4c5c?e6c@e[e]e^e_e`e{e|e}e7c~eafbfcfdf8c9c!c#c$c%c'c(c)c*c+c,cef-cff.c/cgf:chfifjfkflfmfnfofpfqf;crfsftfufvf=c?c@cwf[cxf]cyf^czf_c`c{cAf|cBf}c~cadbdcdddedfdgdhdCfidDfjdEfkdFfldmdndGfodHfpdqdrdIfsdJfKfLfMfNfOfPfQfRftdSfTfUfVfWfudvdwdxdydzdAdBdCdDdEdFdXfGdYfHdIdZfJd0f1f2f3f4f5f6f7f8f9fKd!f#f$f%f'fLdMdNd(fOd)f*f+fPd,fQd-f.fRd/fSd:fTd;fUd=fVd?fWd@fXd[fYd]fZd^f0d_f1d`f2d{f3d|f4d}fm cen deeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeKeo LeMeNed PeOe

27  

28cdef nvrtcResult nvrtcGetPTXSize(nvrtcProgram prog, size_t* ptxSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

29 return cynvrtc._nvrtcGetPTXSize(prog, ptxSizeRet) 26d7d8d9d!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}d~daebeb c m cen deeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeKeo LeMeNePeOe

30  

31cdef nvrtcResult nvrtcGetPTX(nvrtcProgram prog, char* ptx) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

32 return cynvrtc._nvrtcGetPTX(prog, ptx) 26d7d8d9d!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}d~daebeb c m cen deeefegeheiejekelemeneoepeqereseteuevewexeyezeAeBeCeDeEeFeGeHeIeJeKeo LeMeNePeOe

33  

34cdef nvrtcResult nvrtcGetCUBINSize(nvrtcProgram prog, size_t* cubinSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

35 return cynvrtc._nvrtcGetCUBINSize(prog, cubinSizeRet) 2p q r s t u v w x y z A B C D E F G H I J 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 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbQeReSeTeUee f g h i j k l VeWedbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbYeLbMbNbObPbQbRbSbTbUbVbWbXbYbZb2b3b4b5b6b7b8b9b!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~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczcAcBcCcDc3e4e5e6e7e8eEc%eFc'e(eGc)eHc*eIcJcKc+eLc,eMcNcOcPcQcRcScTcUcVc-eWc.eXc/eYc:eZc0c1c;e2c=e3c4c5c?e6c@e[e]e^e_e`e{e|e}e7c~eafbfcfdf8c9c!c#c$c%c'c(c)c*c+c,cef-cff.c/cgf:chfifjfkflfmfnfofpfqf;crfsftfufvf=c?c@cwf[cxf]cyf^czf_c`c{cAf|cBf}c~cadbdcdddedfdgdhdCfidDfjdEfkdFfldmdndGfodHfpdqdrdIfsdJfKfLfMfNfOfPfQfRftdSfTfUfVfWfudvdwdxdydzdAdBdCdDdEdFdXfGdYfHdIdZfJd0f1f2f3f4f5f6f7f8f9fKd!f#f$f%f'fLdMdNd(fOd)f*f+fPd,fQd-fRd/fSd:fTd;fUd=fVd?fWd@fXd[fYd]fZd^f0d_f1d`f2d{f3d|f4d}f

36  

37cdef nvrtcResult nvrtcGetCUBIN(nvrtcProgram prog, char* cubin) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

38 return cynvrtc._nvrtcGetCUBIN(prog, cubin) 2p q r s t u v w x y z A B C D E F G H I J 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 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbQeReSeTeUee f g h i j k l VeWedbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbYeLbMbNbObPbQbRbSbTbUbVbWbXbYbZb2b3b4b5b6b7b8b9b!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~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczcAcBcCcDc3e4e5e6e7e8eEc%eFc'e(eGc)eHc*eIcJcKc+eLc,eMcNcOcPcQcRcScTcUcVc-eWc.eXc/eYc:eZc0c1c;e2c=e3c4c5c?e6c@e[e]e^e_e`e{e|e}e7c~eafbfcfdf8c9c!c#c$c%c'c(c)c*c+c,cef-cff.c/cgf:chfifjfkflfmfnfofpfqf;crfsftfufvf=c?c@cwf[cxf]cyf^czf_c`c{cAf|cBf}c~cadbdcdddedfdgdhdCfidDfjdEfkdFfldmdndGfodHfpdqdrdIfsdJfKfLfMfNfOfPfQfRftdSfTfUfVfWfudvdwdxdydzdAdBdCdDdEdFdXfGdYfHdIdZfJd0f1f2f3f4f5f6f7f8f9fKd!f#f$f%f'fLdMdNd(fOd)f*f+fPd,fQd-fRd/fSd:fTd;fUd=fVd?fWd@fXd[fYd]fZd^f0d_f1d`f2d{f3d|f4d}f

39  

40cdef nvrtcResult nvrtcGetLTOIRSize(nvrtcProgram prog, size_t* LTOIRSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

41 return cynvrtc._nvrtcGetLTOIRSize(prog, LTOIRSizeRet) 2Xe0b1bZe0e1e2e9e!e#e$e.f

42  

43cdef nvrtcResult nvrtcGetLTOIR(nvrtcProgram prog, char* LTOIR) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

44 return cynvrtc._nvrtcGetLTOIR(prog, LTOIR) 2Xe0b1bZe0e1e2e9e!e#e$e.f

45  

46cdef nvrtcResult nvrtcGetOptiXIRSize(nvrtcProgram prog, size_t* optixirSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

47 return cynvrtc._nvrtcGetOptiXIRSize(prog, optixirSizeRet) 

48  

49cdef nvrtcResult nvrtcGetOptiXIR(nvrtcProgram prog, char* optixir) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

50 return cynvrtc._nvrtcGetOptiXIR(prog, optixir) 

51  

52cdef nvrtcResult nvrtcGetProgramLogSize(nvrtcProgram prog, size_t* logSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

53 return cynvrtc._nvrtcGetProgramLogSize(prog, logSizeRet) 25de f g h i j k l d

54  

55cdef nvrtcResult nvrtcGetProgramLog(nvrtcProgram prog, char* log) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

56 return cynvrtc._nvrtcGetProgramLog(prog, log) 25de f g h i j k l d

57  

58cdef nvrtcResult nvrtcAddNameExpression(nvrtcProgram prog, const char* name_expression) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

59 return cynvrtc._nvrtcAddNameExpression(prog, name_expression) 2p q r s t u v w x y z A B C D E F G H I J 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 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1bb c 2b3b4b5b6b7b8b9b!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~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczcAcBcCcDcEcFcGcHcIcJcKcLcMcNcOcPcQcRcScTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!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~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd0d1d2d3d4d

60  

61cdef nvrtcResult nvrtcGetLoweredName(nvrtcProgram prog, const char* name_expression, const char** lowered_name) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

62 return cynvrtc._nvrtcGetLoweredName(prog, name_expression, lowered_name) 2p q r s t u v w x y z A B C D E F G H I J 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 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbLbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1bb c 2b3b4b5b6b7b8b9b!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~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczcAcBcCcDcrgEcFcGcHcIcJcKcLcMcNcOcPcQcRcScTcUcVcWcXcYcZc0c1c2c3c4c5c6c7c8c9c!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~cadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzdAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd0d1d2d3d4d

63  

64cdef nvrtcResult nvrtcGetPCHHeapSize(size_t* ret) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

65 return cynvrtc._nvrtcGetPCHHeapSize(ret) 

66  

67cdef nvrtcResult nvrtcSetPCHHeapSize(size_t size) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

68 return cynvrtc._nvrtcSetPCHHeapSize(size) 

69  

70cdef nvrtcResult nvrtcGetPCHCreateStatus(nvrtcProgram prog) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

71 return cynvrtc._nvrtcGetPCHCreateStatus(prog) 1mno

72  

73cdef nvrtcResult nvrtcGetPCHHeapSizeRequired(nvrtcProgram prog, size_t* size) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

74 return cynvrtc._nvrtcGetPCHHeapSizeRequired(prog, size) 

75  

76cdef nvrtcResult nvrtcSetFlowCallback(nvrtcProgram prog, void* callback, void* payload) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

77 return cynvrtc._nvrtcSetFlowCallback(prog, callback, payload) 

78  

79cdef nvrtcResult nvrtcGetTileIRSize(nvrtcProgram prog, size_t* TileIRSizeRet) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

80 return cynvrtc._nvrtcGetTileIRSize(prog, TileIRSizeRet) 

81  

82cdef nvrtcResult nvrtcGetTileIR(nvrtcProgram prog, char* TileIR) except ?NVRTC_ERROR_INVALID_INPUT nogil: 

83 return cynvrtc._nvrtcGetTileIR(prog, TileIR)