62 lines
1.6 KiB
Cython
62 lines
1.6 KiB
Cython
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# This code was automatically generated with version 13.4.1. Do not modify it directly.
|
|
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=ba23f6c3908c2fa6496002f8def30ec166cec8643e4de22c1741040b2c4b2965
|
|
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 nvrtcBundledHeadersInfo:
|
|
"""
|
|
Structure containing information about bundled headers.
|
|
|
|
Attributes
|
|
----------
|
|
|
|
available : int
|
|
Non-zero if bundled headers are available
|
|
|
|
|
|
compressedSize : size_t
|
|
Size of compressed archive in bytes
|
|
|
|
|
|
uncompressedSize : size_t
|
|
Estimated size when extracted in bytes
|
|
|
|
|
|
cudaVersionMajor : int
|
|
CUDA major version of bundled headers
|
|
|
|
|
|
cudaVersionMinor : int
|
|
CUDA minor version of bundled headers
|
|
|
|
|
|
numFiles : unsigned int
|
|
Number of header files in the bundle
|
|
|
|
|
|
Methods
|
|
-------
|
|
getPtr()
|
|
Get memory address of class instance
|
|
"""
|
|
cdef cynvrtc.nvrtcBundledHeadersInfo _pvt_val
|
|
cdef cynvrtc.nvrtcBundledHeadersInfo* _pvt_ptr
|