@@ -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
|
||||
|
||||
Reference in New Issue
Block a user