From cb4aa60a37a287d9ef57cbf2c6e6b584a85bae64 Mon Sep 17 00:00:00 2001 From: German Date: Fri, 4 Nov 2022 14:06:53 -0400 Subject: [PATCH] SWDEV-328670 - Enable ROCr interop Change-Id: I932afa2a0e75b1f1771c4be1e984b32966636afb [ROCm/clr commit: b40823ccc104a9d5648a50dee1ea4c6c04e7e606] --- projects/clr/rocclr/device/rocm/rocdevice.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index d680721baf..44eadb18a6 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -3166,9 +3166,6 @@ void Device::ReleaseGlobalSignal(void* signal) const { // ================================================================================================ bool Device::IsValidAllocation(const void* dev_ptr, size_t size) const { - //! @todo Temporarily disable pointer detection feature, - //! until the new interfaces will be accepted in HIP API - return false; hsa_amd_pointer_info_t ptr_info = {}; ptr_info.size = sizeof(hsa_amd_pointer_info_t); // Query ptr type to see if it's a HMM allocation