diff --git a/src/targets/gpu/CMakeLists.txt b/src/targets/gpu/CMakeLists.txt index 85e0e12ae25..6b5a0521785 100644 --- a/src/targets/gpu/CMakeLists.txt +++ b/src/targets/gpu/CMakeLists.txt @@ -22,11 +22,6 @@ # THE SOFTWARE. # #################################################################################### -# HIP SDK on Windows does not detect platform correctly, defaulting to "amd" -if(NOT HIP_PLATFORM AND CMAKE_SYSTEM_NAME STREQUAL "Windows") - set(HIP_PLATFORM "amd") -endif() - find_package(hip REQUIRED) if(NOT GPU_TARGETS) set(fatal_msg "HIP package is broken and has no GPU_TARGETS. Please pass GPU_TARGETS to cmake.")