Coverage for cuda / bindings / cynvfatbin.pyx: 100.00%
23 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-29 01:27 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-29 01:27 +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.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. 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) 1KLMNOPQRSTUVWXYZ01
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) 1bcdefghijkHIlmnopqrstuvwxyzABCDEFJG2
22cdef nvFatbinResult nvFatbinDestroy(nvFatbinHandle* handle_indirect) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
23 return _nvfatbin._nvFatbinDestroy(handle_indirect) 1bcdefghijkHIlmnopqrstuvwxyzABCDEFJG
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) 1bclmnopqrstuvwxyzA
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) 1bchijkHI
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) 1defg
38cdef nvFatbinResult nvFatbinSize(nvFatbinHandle handle, size_t* size) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
39 return _nvfatbin._nvFatbinSize(handle, size) 1bcdefghijklmnopqrstuvwxyzABCDEFG
42cdef nvFatbinResult nvFatbinGet(nvFatbinHandle handle, void* buffer) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
43 return _nvfatbin._nvFatbinGet(handle, buffer) 1bcdefghijklmnopqrstuvwxyzABCDEFG
46cdef nvFatbinResult nvFatbinVersion(unsigned int* major, unsigned int* minor) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
47 return _nvfatbin._nvFatbinVersion(major, minor) 1a3
50cdef nvFatbinResult nvFatbinAddReloc(nvFatbinHandle handle, const void* code, size_t size) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil:
51 return _nvfatbin._nvFatbinAddReloc(handle, code, size) 1BCDE
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) 1F