[TransferBench] Fixing bug with fine-grained memory allocation (#311)

* Fixing bug with fine-grained memory

[ROCm/rccl commit: 41c35dad48]
Este cometimento está contido em:
gilbertlee-amd criou e GitHub cometeu 2020-12-15 17:37:31 -07:00
1 ascendente 5155abb250
cometimento c570f09681
1 ficheiro modificado
+1
+1
Ver ficheiro
@@ -764,6 +764,7 @@ void AllocateMemory(MemType memType, int devIndex, size_t numBytes, float** memP
}
else if (memType == MEM_GPU_FINE)
{
HIP_CALL(hipSetDevice(devIndex));
HIP_CALL(hipExtMallocWithFlags((void**)memPtr, numBytes, hipDeviceMallocFinegrained));
}
else