Skip to content

Commit e734acb

Browse files
authored
Remove workaround for amdgpu_targets for static builds. (#882) (#884)
1 parent c8c7231 commit e734acb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ if(DEFINED USE_CUDA)
9292
endif()
9393

9494
# Hip headers required of all clients; clients use hip to allocate device memory
95-
if( NOT BUILD_SHARED_LIBS )
96-
# potentially a bug in hip, if AMDGPU_TARGETS is not set, it uses amdgpu-arch to find
97-
# archs on the machine, but doesn't work with static builds
98-
# trying this workaround out for now
99-
set (AMDGPU_TARGETS "gfx000")
100-
endif()
10195
find_package( hip CONFIG PATHS ${HIP_DIR} ${ROCM_PATH} /opt/rocm )
10296

10397
# support for cuda backend with hip < 6.0

0 commit comments

Comments
 (0)