From 3944391ddcdaf9eb60d16ce15cf9e0e9f10e931e Mon Sep 17 00:00:00 2001 From: Jason Tang Date: Fri, 14 Feb 2020 16:16:38 -0500 Subject: [PATCH] SWDEV-207312 - Comment out incorrect cl-gl inter-op code to facilitate Linux-Pro testing Change-Id: I273476465332ffcda50a6095f839e1bc07863c8e [ROCm/clr commit: 290b42625aae6d35965e104855b410a0e259f526] --- projects/clr/rocclr/device/rocm/rocmemory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/clr/rocclr/device/rocm/rocmemory.cpp b/projects/clr/rocclr/device/rocm/rocmemory.cpp index 5dab89b17d..dac94ce2d4 100644 --- a/projects/clr/rocclr/device/rocm/rocmemory.cpp +++ b/projects/clr/rocclr/device/rocm/rocmemory.cpp @@ -286,10 +286,13 @@ bool Memory::createInteropBuffer(GLenum targetType, int miplevel) { if (status != HSA_STATUS_SUCCESS) return false; + //! @todo Need to handle metadata correctly +#if 0 // if map_buffer wrote anything in metadata, copy it to amdImageDesc_ if (metadata_size != 0) { memcpy(amdImageDesc_, metadata, metadata_size); } +#endif //0 kind_ = MEMORY_KIND_INTEROP; assert(deviceMemory_ != nullptr && "Interop map failed to produce a pointer!");