nanaj's picture
Upload folder using huggingface_hub (part 5)
22c0749 verified
Raw
History Blame Contribute Delete
1.6 kB
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
# This code was automatically generated with version 13.3.0, generator version 0.3.1.dev1719+g565f73f4e. Do not modify it directly.
cimport cuda.bindings.cynvrtc as cynvrtc
include "_lib/utils.pxd"
cdef class nvrtcProgram:
""" nvrtcProgram is the unit of compilation, and an opaque handle for a program.
To compile a CUDA program string, an instance of nvrtcProgram must be created first with nvrtcCreateProgram, then compiled with nvrtcCompileProgram.
Methods
-------
getPtr()
Get memory address of class instance
"""
cdef cynvrtc.nvrtcProgram _pvt_val
cdef cynvrtc.nvrtcProgram* _pvt_ptr
cdef class anon_struct0:
"""
Attributes
----------
available : int
compressedSize : size_t
uncompressedSize : size_t
cudaVersionMajor : int
cudaVersionMinor : int
numFiles : unsigned int
Methods
-------
getPtr()
Get memory address of class instance
"""
cdef cynvrtc.nvrtcBundledHeadersInfo* _pvt_ptr
cdef class nvrtcBundledHeadersInfo(anon_struct0):
"""
Attributes
----------
available : int
compressedSize : size_t
uncompressedSize : size_t
cudaVersionMajor : int
cudaVersionMinor : int
numFiles : unsigned int
Methods
-------
getPtr()
Get memory address of class instance
"""
cdef cynvrtc.nvrtcBundledHeadersInfo _pvt_val