| # SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| # |
| # SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE |
| # |
| # This code was automatically generated across versions from 12.0.1 to 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly. |
|
|
| from libc.stdint cimport intptr_t, uint32_t |
|
|
| from .cynvjitlink cimport * |
|
|
|
|
| ############################################################################### |
| # Types |
| ############################################################################### |
|
|
| ctypedef nvJitLinkHandle Handle |
|
|
|
|
| ############################################################################### |
| # Enum |
| ############################################################################### |
|
|
| ctypedef nvJitLinkResult _Result |
| ctypedef nvJitLinkInputType _InputType |
|
|
|
|
| ############################################################################### |
| # Functions |
| ############################################################################### |
|
|
| cpdef intptr_t create(uint32_t num_options, options) except -1 |
| cpdef add_data(intptr_t handle, int input_type, data, size_t size, name) |
| cpdef add_file(intptr_t handle, int input_type, file_name) |
| cpdef complete(intptr_t handle) |
| cpdef size_t get_linked_cubin_size(intptr_t handle) except? 0 |
| cpdef get_linked_cubin(intptr_t handle, cubin) |
| cpdef size_t get_linked_ptx_size(intptr_t handle) except? 0 |
| cpdef get_linked_ptx(intptr_t handle, ptx) |
| cpdef size_t get_error_log_size(intptr_t handle) except? 0 |
| cpdef get_error_log(intptr_t handle, log) |
| cpdef size_t get_info_log_size(intptr_t handle) except? 0 |
| cpdef get_info_log(intptr_t handle, log) |
| cpdef tuple version() |
|
|