Call cudaFreeHost() on wrongPerGpu not cudaFree()
[ROCm/rccl-tests commit: 24fcf64ed1]
This commit is contained in:
@@ -262,7 +262,7 @@ testResult_t CheckData(struct threadArgs* args, ncclDataType_t type, ncclRedOp_t
|
||||
|
||||
*wrongElts = 0;
|
||||
for (int i=0; i < args->nGpus; i++) *wrongElts += wrongPerGpu[i];
|
||||
cudaFree(wrongPerGpu);
|
||||
cudaFreeHost(wrongPerGpu);
|
||||
|
||||
if (args->reportErrors && *wrongElts) args->errors[0]++;
|
||||
return testSuccess;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user