Fix typo in previous hipify change (#645)

This commit is contained in:
Wenkai Du
2022-11-15 11:51:47 -08:00
zatwierdzone przez GitHub
rodzic b4f6eee9b4
commit cf3c32a626
+1 -1
Wyświetl plik
@@ -628,7 +628,7 @@ ncclResult_t ncclTopoGetXmlFromGpu(struct ncclXmlNode* pciNode, uint32_t rocmDev
if (index == -1) {
int cudaMajor, cudaMinor;
cudaDeviceProp devProp;
CUDACHECK(cudaGetDeviceProperties(&devProp, dev));
CUDACHECK(cudaGetDeviceProperties(&devProp, 0));
cudaMajor = devProp.major; cudaMinor = devProp.minor;
NCCLCHECK(xmlSetAttrInt(gpuNode, "sm", cudaMajor*10+cudaMinor));
}