Skip to content

Commit 98003ee

Browse files
author
Hugh Delaney
committed
AMD no longer needs its own openCL version
1 parent e971939 commit 98003ee

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libclc/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,6 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
336336
# Disables NVVM reflection to defer to after linking
337337
set( flags "SHELL:-Xclang -target-feature" "SHELL:-Xclang +ptx72"
338338
"SHELL:-march=sm_86" "SHELL:-mllvm --nvvm-reflect-enable=false")
339-
elseif( ${ARCH} STREQUAL amdgcn )
340-
# AMDGCN needs generic address space for atomics
341-
set( flags "SHELL:-Xclang -cl-std=CL2.0")
342339
else()
343340
set ( flags )
344341
endif()

0 commit comments

Comments
 (0)