Coverage for cuda/bindings/cynvfatbin.pyx: 96.00%
25 statements
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-13 01:38 +0000
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-13 01:38 +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.3.0, generator version 0.3.1.dev1719+g565f73f4e. Do not modify it directly.
7from ._internal cimport nvfatbin as _nvfatbin
10###############################################################################
11# Wrapper functions
12###############################################################################
14cdef const char* nvFatbinGetErrorString(nvFatbinResult result) except?NULL nogil:
15 return _nvfatbin._nvFatbinGetErrorString(result) 1LMNOPQRSTUVWXYZ012
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) 1bcdefghijklIJmnopqrstuvwxyzABCDEFGKH3
22cdef nvFatbinResult nvFatbinDestroy(nvFatbinHandle* handle_indirect) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
23 return _nvfatbin._nvFatbinDestroy(handle_indirect) 1bcdefghijklIJmnopqrstuvwxyzABCDEFGKH
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) 1bcdmnopqrstuvwxyzAB
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) 1bcdijklIJ
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) 1efgh
38cdef nvFatbinResult nvFatbinSize(nvFatbinHandle handle, size_t* size) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
39 return _nvfatbin._nvFatbinSize(handle, size) 1bcdefghijklmnopqrstuvwxyzABCDEFGH
42cdef nvFatbinResult nvFatbinGet(nvFatbinHandle handle, void* buffer) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
43 return _nvfatbin._nvFatbinGet(handle, buffer) 1bcdefghijklmnopqrstuvwxyzABCDEFGH
46cdef nvFatbinResult nvFatbinVersion(unsigned int* major, unsigned int* minor) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
47 return _nvfatbin._nvFatbinVersion(major, minor) 1a4
50cdef nvFatbinResult nvFatbinAddIndex(nvFatbinHandle handle, const void* code, size_t size, const char* identifier) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
51 return _nvfatbin._nvFatbinAddIndex(handle, code, size, identifier)
54cdef nvFatbinResult nvFatbinAddReloc(nvFatbinHandle handle, const void* code, size_t size) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
55 return _nvfatbin._nvFatbinAddReloc(handle, code, size) 1CDEF
58cdef nvFatbinResult nvFatbinAddTileIR(nvFatbinHandle handle, const void* code, size_t size, const char* identifier, const char* optionsCmdLine) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
59 return _nvfatbin._nvFatbinAddTileIR(handle, code, size, identifier, optionsCmdLine) 1G