cuda.bindings._v2.nvrtc.get_cubin_size#

cuda.bindings._v2.nvrtc.get_cubin_size(intptr_t prog) → size_t#

nvrtcGetCUBINSize sets the value of cubin_size_ret with the size of the cubin generated by the previous compilation of prog. The value of cubin_size_ret is set to 0 if the value specified to -arch is a virtual architecture instead of an actual architecture.

Parameters:

prog (intptr_t) – CUDA Runtime Compilation program.

Returns:

Size of the generated cubin.

Return type:

size_t

See also

nvrtcGetCUBINSize