Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hdelan committed Apr 23, 2024
1 parent 8eedac8 commit c4ab1ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libclc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
elseif( ARCH STREQUAL amdgcn )
# AMDGCN needs libclc to be compiled to high bc version since all atomic
# clang builtins need to be accessible
list( APPEND flags -mcpu=gfx940 -mllvm --amdgpu-oclc-reflect-enable=false)
list( APPEND flags -mcpu=gfx940 -mllvm --amdgpu-oclc-reflect-enable=false )
elseif( ARCH STREQUAL x86_64)
# TODO: This is used by SYCL Native Cpu, we should define an option to set this flags
list( APPEND flags -Xclang -target-feature -Xclang +avx
Expand Down Expand Up @@ -346,7 +346,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
# simultaneously, we choose declare the builtins using the private space,
# which will also work for the generic address space.
set( supports_generic_addrspace FALSE )
elseif( ARCH STREQUAL "amdgcn" )
elseif( ARCH STREQUAL amdgcn )
set( opt_flags -O3 --amdgpu-oclc-reflect-enable=false )
elseif( ARCH STREQUAL x86_64)
set( opt_flags )
Expand Down

0 comments on commit c4ab1ed

Please sign in to comment.