From a5b93415e5609a8d8f279629e3acf33ef40cd35d Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 22 Nov 2019 11:29:49 -0500 Subject: [PATCH] P4 to Git Change 2035286 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/22 11:19:57 SWDEV-145570 - Revering CL 2033170 Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#52 edit [ROCm/hip commit: 90546b742e176940492e05d7dee5600b64156b1a] --- projects/hip/api/hip/hip_platform.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/hip/api/hip/hip_platform.cpp b/projects/hip/api/hip/hip_platform.cpp index 37d022faa9..df2107974e 100644 --- a/projects/hip/api/hip/hip_platform.cpp +++ b/projects/hip/api/hip/hip_platform.cpp @@ -416,9 +416,6 @@ extern "C" void __hipRegisterFunction( HIP_INIT(); PlatformState::DeviceFunction func{ std::string{deviceName}, modules, std::vector{ g_devices.size() }}; PlatformState::instance().registerFunction(hostFunction, func); - for (size_t i = 0; i < g_devices.size(); ++i) { - PlatformState::instance().getFunc(hostFunction, i); - } } // Registers a device-side global variable.