Skip to content

Commit

Permalink
Revert "defaulting HIP_PLATFORM to 'amd' on Windows (#3466)" (#3476)
Browse files Browse the repository at this point in the history
This reverts commit 9f01876.
  • Loading branch information
pfultz2 authored Sep 25, 2024
1 parent 2c2085d commit 1cd2854
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/targets/gpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 1cd2854

Please sign in to comment.