Function flamegpu::detail::compute_capability::getComputeCapability

Function Documentation

int flamegpu::detail::compute_capability::getComputeCapability(int deviceIndex)

get the compute capability for a device

Parameters:

deviceIndex – the index of the device to be queried

Returns:

integer value representing the compute capability, i.e 70 for SM_70