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

* Fixing bug with fine-grained memory
이 커밋은 다음에 포함됨:
gilbertlee-amd
2020-12-15 17:37:31 -07:00
커밋한 사람 GitHub
부모 ae0c4092c7
커밋 41c35dad48
+1
파일 보기
@@ -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