cuda.bindings._v2.nvrtc.get_bundled_headers_info#

cuda.bindings._v2.nvrtc.get_bundled_headers_info() → tuple#

nvrtcGetBundledHeadersInfo queries information about the bundled headers without extracting them.

This function allows users to determine if bundled headers are available and get size estimates before calling nvrtcInstallBundledHeaders.

Returns:

  • nvrtcBundledHeadersInfo: Pointer to structure to receive header

    information.

  • bytes: Optional pointer to receive detailed error message on

    failure. If non-NULL, *error_log will be set to point to a string describing the error cause. Note: subsequent API calls from the same thread may overwrite this message. May be NULL if error details are not needed.

Return type:

A 2-tuple containing

See also

nvrtcGetBundledHeadersInfo