diff --git a/api/hip/hip_platform.cpp b/api/hip/hip_platform.cpp index 37d022faa9..0250ebfb09 100644 --- a/api/hip/hip_platform.cpp +++ b/api/hip/hip_platform.cpp @@ -416,9 +416,9 @@ 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); - } +// for (size_t i = 0; i < g_devices.size(); ++i) { +// PlatformState::instance().getFunc(hostFunction, i); +// } } // Registers a device-side global variable.