cuda.bindings._v2.nvrtc.BundledHeadersInfo#

class cuda.bindings._v2.nvrtc.BundledHeadersInfo#

Empty-initialize an instance of nvrtcBundledHeadersInfo.

See also

nvrtcBundledHeadersInfo

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an BundledHeadersInfo instance with the memory from the given buffer.

from_data(data)

Create an BundledHeadersInfo instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an BundledHeadersInfo instance wrapping the given pointer.

Attributes

available

Non-zero if bundled headers are available

compressed_size

Size of compressed archive in bytes

cuda_version_major

CUDA major version of bundled headers

cuda_version_minor

CUDA minor version of bundled headers

num_files

Number of header files in the bundle

ptr

Get the pointer address to the data as Python int.

uncompressed_size

Estimated size when extracted in bytes