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

23 statements  

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

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

2# 

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

4# 

5# This code was automatically generated across versions from 12.4.1 to 13.1.1. Do not modify it directly. 

6  

7from ._internal cimport nvfatbin as _nvfatbin 

8  

9  

10############################################################################### 

11# Wrapper functions 

12############################################################################### 

13  

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

15 return _nvfatbin._nvFatbinGetErrorString(result) 1IJKLMNOPQRSTUVWXYZ

16  

17  

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

19 return _nvfatbin._nvFatbinCreate(handle_indirect, options, optionsCount) 1bcdefghiFGjklmnopqrstuvwxyzABCDHE0

20  

21  

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

23 return _nvfatbin._nvFatbinDestroy(handle_indirect) 1bcdefghiFGjklmnopqrstuvwxyzABCDHE

24  

25  

26cdef 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: 

27 return _nvfatbin._nvFatbinAddPTX(handle, code, size, arch, identifier, optionsCmdLine) 1jklmnopqrstuvwxy

28  

29  

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

31 return _nvfatbin._nvFatbinAddCubin(handle, code, size, arch, identifier) 1fghiFG

32  

33  

34cdef 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: 

35 return _nvfatbin._nvFatbinAddLTOIR(handle, code, size, arch, identifier, optionsCmdLine) 1bcde

36  

37  

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

39 return _nvfatbin._nvFatbinSize(handle, size) 1bcdefghijklmnopqrstuvwxyzABCDE

40  

41  

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

43 return _nvfatbin._nvFatbinGet(handle, buffer) 1bcdefghijklmnopqrstuvwxyzABCDE

44  

45  

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

47 return _nvfatbin._nvFatbinVersion(major, minor) 1a1

48  

49  

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

51 return _nvfatbin._nvFatbinAddReloc(handle, code, size) 1zABC

52  

53  

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

55 return _nvfatbin._nvFatbinAddTileIR(handle, code, size, identifier, optionsCmdLine) 1D