mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fixes narrowing conversion build errors in test_common Removing disable of narrowing errors in main CMakeLists.txt and moving it down to specific test_conformance suite's CMakeLists.txt where there are many more build errors revealed from this fix. Fixes a few simple issues under test_conformance in the process. Contributes #787 Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> --------- Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
26 lines
659 B
CMake
26 lines
659 B
CMake
set(MODULE_NAME INTEGER_OPS)
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "(Apple)?Clang")
|
|
add_cxx_flag_if_supported(-Wno-narrowing)
|
|
endif()
|
|
|
|
set(${MODULE_NAME}_SOURCES
|
|
main.cpp
|
|
test_int_basic_ops.cpp
|
|
test_integers.cpp
|
|
test_upsample.cpp
|
|
test_intmul24.cpp test_intmad24.cpp
|
|
test_sub_sat.cpp test_add_sat.cpp
|
|
test_abs.cpp test_absdiff.cpp
|
|
test_unary_ops.cpp
|
|
verification_and_generation_functions.cpp
|
|
test_popcount.cpp
|
|
test_integer_dot_product.cpp
|
|
test_extended_bit_ops_extract.cpp
|
|
test_extended_bit_ops_insert.cpp
|
|
test_extended_bit_ops_reverse.cpp
|
|
)
|
|
|
|
include(../CMakeCommon.txt)
|
|
|