We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c7b769 commit db9f837Copy full SHA for db9f837
libclc/CMakeLists.txt
@@ -472,9 +472,11 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
472
elseif( ARCH STREQUAL nvptx OR ARCH STREQUAL nvptx64 )
473
set( build_flags )
474
set( opt_flags -O3 "--nvvm-reflect-enable=false" )
475
+ set( MACRO_ARCH ${ARCH} )
476
elseif( ARCH STREQUAL amdgcn )
477
478
set( opt_flags -O3 --amdgpu-oclc-reflect-enable=false )
479
480
else()
481
482
set( opt_flags -O3 )
0 commit comments