cuda.bindings._v2.nvrtc.get_num_supported_archs#

cuda.bindings._v2.nvrtc.get_num_supported_archs() → int#

nvrtcGetNumSupportedArchs sets the output parameter num_archs with the number of architectures supported by NVRTC. This can then be used to pass an array to nvrtcGetSupportedArchs to get the supported architectures.

see nvrtcGetSupportedArchs.

Returns:

number of supported architectures.

Return type:

int

See also

nvrtcGetNumSupportedArchs