Coverage for cuda/bindings/cynvfatbin.pyx: 96.00%

25 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-07-19 01:12 +0000

1# SPDX-FileCopyrightText: Copyright (c) 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.4.1 to 13.3.0. Do not modify it directly. 

6  

7# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=bae30bbdaff2009b86c05de2a46bbaecad9e63327c93a10b6f2e8a2d95fd6a60 

8from ._internal cimport nvfatbin as _nvfatbin 

9  

10  

11############################################################################### 

12# Wrapper functions 

13############################################################################### 

14  

15cdef const char* nvFatbinGetErrorString(nvFatbinResult result) except?NULL nogil: 

16 return _nvfatbin._nvFatbinGetErrorString(result) 1LMNOPQRSTUVWXYZ012

17  

18  

19cdef nvFatbinResult nvFatbinCreate(nvFatbinHandle* handle_indirect, const char** options, size_t optionsCount) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

20 return _nvfatbin._nvFatbinCreate(handle_indirect, options, optionsCount) 1bcdefghijklIJmnopqrstuvwxyzABCDEFGKH3

21  

22  

23cdef nvFatbinResult nvFatbinDestroy(nvFatbinHandle* handle_indirect) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

24 return _nvfatbin._nvFatbinDestroy(handle_indirect) 1bcdefghijklIJmnopqrstuvwxyzABCDEFGKH

25  

26  

27cdef nvFatbinResult nvFatbinAddPTX(nvFatbinHandle handle, const char* code, size_t size, const char* arch, const char* identifier, const char* optionsCmdLine) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

28 return _nvfatbin._nvFatbinAddPTX(handle, code, size, arch, identifier, optionsCmdLine) 1bcdmnopqrstuvwxyzAB

29  

30  

31cdef nvFatbinResult nvFatbinAddCubin(nvFatbinHandle handle, const void* code, size_t size, const char* arch, const char* identifier) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

32 return _nvfatbin._nvFatbinAddCubin(handle, code, size, arch, identifier) 1bcdijklIJ

33  

34  

35cdef nvFatbinResult nvFatbinAddLTOIR(nvFatbinHandle handle, const void* code, size_t size, const char* arch, const char* identifier, const char* optionsCmdLine) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

36 return _nvfatbin._nvFatbinAddLTOIR(handle, code, size, arch, identifier, optionsCmdLine) 1efgh

37  

38  

39cdef nvFatbinResult nvFatbinSize(nvFatbinHandle handle, size_t* size) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

40 return _nvfatbin._nvFatbinSize(handle, size) 1bcdefghijklmnopqrstuvwxyzABCDEFGH

41  

42  

43cdef nvFatbinResult nvFatbinGet(nvFatbinHandle handle, void* buffer) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

44 return _nvfatbin._nvFatbinGet(handle, buffer) 1bcdefghijklmnopqrstuvwxyzABCDEFGH

45  

46  

47cdef nvFatbinResult nvFatbinVersion(unsigned int* major, unsigned int* minor) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

48 return _nvfatbin._nvFatbinVersion(major, minor) 1a4

49  

50  

51cdef nvFatbinResult nvFatbinAddIndex(nvFatbinHandle handle, const void* code, size_t size, const char* identifier) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

52 return _nvfatbin._nvFatbinAddIndex(handle, code, size, identifier) 

53  

54  

55cdef nvFatbinResult nvFatbinAddReloc(nvFatbinHandle handle, const void* code, size_t size) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

56 return _nvfatbin._nvFatbinAddReloc(handle, code, size) 1CDEF

57  

58  

59cdef nvFatbinResult nvFatbinAddTileIR(nvFatbinHandle handle, const void* code, size_t size, const char* identifier, const char* optionsCmdLine) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil: 

60 return _nvfatbin._nvFatbinAddTileIR(handle, code, size, identifier, optionsCmdLine) 1G