[ROCm/clr commit: d9179cbe70]
Этот коммит содержится в:
Rahul Garg
2019-09-13 03:09:01 +05:30
родитель b7a06efb6c
Коммит f79ffd587e
+1 -1
Просмотреть файл
@@ -1989,7 +1989,7 @@ hipError_t hipFree(void* ptr) {
#endif
am_status_t status = hc::am_memtracker_getinfo(&amPointerInfo, ptr);
if (status == AM_SUCCESS) {
/*if (amPointerInfo._hostPointer == NULL) */ //TODO Fix this when there is proper Managed memeory support
/*if (amPointerInfo._hostPointer == NULL) */ //TODO: Fix it when there is proper managed memory support
{
if (HIP_SYNC_FREE) {
// Synchronize all devices, all streams