File dsp.cu

Functions

std::vector<cudaDeviceProp> get_gpu_properties()

Gets the properties of each GPU in the system.

Returns

The gpu properties.

void print_gpu_properties(std::vector<cudaDeviceProp> gpu_properties)

Prints the properties of each cudaDeviceProp in the vector.

More info on properties and calculations here: https://devblogs.nvidia.com/parallelforall/how-query-device-properties-and-handle-errors-cuda-cc/

Parameters

gpu_properties[in] A vector of cudaDeviceProp structs.