From 74de707cf22b92fc717b5c2f8a866f6fd9c6beab Mon Sep 17 00:00:00 2001 From: pghafari Date: Thu, 25 Mar 2021 13:39:45 -0400 Subject: [PATCH] SWDEV-245532 - HIP - Vulkan interop, syntax update Change-Id: I5fd4431bab4d975efec47298f2746fbcbbec8a44 --- opencl/amdocl/cl_vk_amd.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opencl/amdocl/cl_vk_amd.hpp b/opencl/amdocl/cl_vk_amd.hpp index 34ae04b5c4..8b6212b788 100644 --- a/opencl/amdocl/cl_vk_amd.hpp +++ b/opencl/amdocl/cl_vk_amd.hpp @@ -52,7 +52,7 @@ namespace amd protected: //! Initializes the device memory array which is nested // after'BufferVk' object in memory layout. - void BufferVk::initDeviceMemory() { + void initDeviceMemory() { deviceMemories_ = reinterpret_cast(reinterpret_cast(this) + sizeof(BufferVk)); memset(deviceMemories_, 0, context_().devices().size() * sizeof(DeviceMemory)); @@ -88,7 +88,7 @@ namespace amd protected: //! Initializes the device memory array which is nested // after'ImageVk' object in memory layout. - void ImageVk::initDeviceMemory() { + void initDeviceMemory() { deviceMemories_ = reinterpret_cast(reinterpret_cast(this) + sizeof(ImageVk)); memset(deviceMemories_, 0, context_().devices().size() * sizeof(DeviceMemory));