48 lines
1.7 KiB
Cython
48 lines
1.7 KiB
Cython
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# This code was automatically generated across versions from 12.4.1 to 13.4.1. Do not modify it directly.
|
|
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9ead77b928fe2009e92249025e5b38bf079a25fc0d9737aafd3cbeddb5c86661
|
|
|
|
|
|
|
|
# <<<< PREAMBLE CONTENT >>>>
|
|
|
|
from libc.stdint cimport intptr_t
|
|
|
|
|
|
# <<<< END OF PREAMBLE CONTENT >>>>
|
|
|
|
from .cynvfatbin cimport *
|
|
|
|
|
|
###############################################################################
|
|
# Types
|
|
###############################################################################
|
|
|
|
ctypedef nvFatbinHandle Handle
|
|
|
|
|
|
###############################################################################
|
|
# Enum
|
|
###############################################################################
|
|
|
|
ctypedef nvFatbinResult _Result
|
|
|
|
|
|
###############################################################################
|
|
# Functions
|
|
###############################################################################
|
|
|
|
cpdef intptr_t create(options, size_t options_count) except -1
|
|
cpdef add_ptx(intptr_t handle, code, size_t size, arch, identifier, options_cmd_line)
|
|
cpdef add_cubin(intptr_t handle, code, size_t size, arch, identifier)
|
|
cpdef add_ltoir(intptr_t handle, code, size_t size, arch, identifier, options_cmd_line)
|
|
cpdef size_t size(intptr_t handle) except? 0
|
|
cpdef get(intptr_t handle, buffer)
|
|
cpdef tuple version()
|
|
cpdef add_index(intptr_t handle, code, size_t size, identifier)
|
|
cpdef add_reloc(intptr_t handle, code, size_t size)
|
|
cpdef add_tile_ir(intptr_t handle, code, size_t size, identifier, options_cmd_line)
|