Function flamegpu::detail::compute_capability::getDeviceName

Function Documentation

const std::string flamegpu::detail::compute_capability::getDeviceName(int deviceIndex)

Get the device name reported by CUDA runtime API

Parameters:

deviceIndex – the index of the device to be queried

Returns:

string representing the device name E.g. “NVIDIA GeForce RTX3080”