Function flamegpu::detail::compute_capability::getNVRTCSupportedComputeCapabilties

Function Documentation

std::vector<int> flamegpu::detail::compute_capability::getNVRTCSupportedComputeCapabilties()

Get the comptue capabilities supported by the linked NVRTC, irrespective of whether FLAMEGPU was configured for that architecture. CUDA 11.2 or greater provides methods to make this dynamic. Older versions of CUDA are hardcoded (11.1, 11.0 and 10.x only).

Returns:

vector of compute capability integers ((major * 10) + minor) in ascending order