我是 CUDA 编程的新手,对它了解不多。您能告诉我“CUDA 计算能力”是什么意思吗?当我在我的大学服务器上使用以下代码时,它向我显示了以下结果。
for (device = 0; device < deviceCount; ++device)
{
cudaDeviceProp deviceProp;
cudaGetDeviceProperties(&deviceProp, device);
printf("\nDevice %d has compute capability %d.%d.\n", device, deviceProp.major, deviceProp.minor);
}
结果:
Device 0 has compute capability 4199672.0.
Device 1 has compute capability 4199672.0.
Device 2 has compute capability 4199672.0.
.
.
cudaGetDeviceProperties 返回两个主要和次要字段。你能告诉我这是什么4199672.0.
意思吗?