mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Build the harness as a static library (#430)
This reduces by a factor of roughly two the number of files to build. Fixes #193. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -170,6 +170,7 @@ elseif (CMAKE_BUILD_TYPE STREQUAL "debug")
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL "release")
|
||||
|
||||
|
||||
add_subdirectory(test_common)
|
||||
add_subdirectory(test_conformance)
|
||||
|
||||
set (PY_PATH "${CLConform_SOURCE_DIR}/test_conformance/*.py")
|
||||
|
||||
32
test_common/CMakeLists.txt
Normal file
32
test_common/CMakeLists.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
set(HARNESS_COMMON_SOURCES
|
||||
harness/threadTesting.c
|
||||
harness/typeWrappers.cpp
|
||||
harness/mt19937.c
|
||||
harness/conversions.c
|
||||
harness/rounding_mode.c
|
||||
harness/msvc9.c
|
||||
)
|
||||
|
||||
set_source_files_properties(${HARNESS_COMMON_SOURCES} PROPERTIES LANGUAGE CXX)
|
||||
|
||||
add_library(harness-common STATIC ${HARNESS_COMMON_SOURCES})
|
||||
|
||||
set(HARNESS_SOURCES
|
||||
harness/crc32.c
|
||||
harness/errorHelpers.c
|
||||
harness/genericThread.cpp
|
||||
harness/imageHelpers.cpp
|
||||
harness/kernelHelpers.c
|
||||
harness/os_helpers.cpp
|
||||
harness/parseParameters.cpp
|
||||
harness/testHarness.c
|
||||
harness/ThreadPool.c
|
||||
miniz/miniz.c
|
||||
)
|
||||
|
||||
set_source_files_properties(${HARNESS_SOURCES} PROPERTIES LANGUAGE CXX)
|
||||
|
||||
add_library(harness STATIC ${HARNESS_SOURCES})
|
||||
|
||||
target_link_libraries(harness harness-common)
|
||||
@@ -10,4 +10,4 @@ set_source_files_properties(${${MODULE_NAME}_SOURCES} PROPERTIES LANGUAGE CXX)
|
||||
|
||||
set_property(TARGET ${${MODULE_NAME}_OUT} PROPERTY FOLDER "CONFORMANCE${CONFORMANCE_SUFFIX}")
|
||||
|
||||
TARGET_LINK_LIBRARIES(${${MODULE_NAME}_OUT} ${CLConform_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(${${MODULE_NAME}_OUT} ${HARNESS_LIB} ${CLConform_LIBRARIES})
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Remember current source directory (`test_conformance').
|
||||
set( CLConf_Install_Base_Dir "${CMAKE_CURRENT_SOURCE_DIR}" )
|
||||
|
||||
set(HARNESS_LIB harness)
|
||||
|
||||
add_subdirectory( allocations )
|
||||
add_subdirectory( api )
|
||||
add_subdirectory( atomics )
|
||||
|
||||
@@ -16,13 +16,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_shared_address_space_fine_grain_buffers.cpp
|
||||
test_shared_sub_buffers.cpp
|
||||
test_migrate.cpp
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -6,15 +6,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
allocation_fill.cpp
|
||||
allocation_functions.cpp
|
||||
allocation_utils.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -24,17 +24,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_sub_group_dispatch.cpp
|
||||
test_clone_kernel.cpp
|
||||
test_zero_sized_enqueue.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/imageHelpers.cpp
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -4,15 +4,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
test_atomics.cpp
|
||||
test_indexed_cases.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -58,23 +58,11 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_simple_image_pitch.c
|
||||
test_get_linear_ids.cpp
|
||||
test_rw_image_access_qualifier.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/imageHelpers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/rounding_mode.c
|
||||
../../test_common/harness/msvc9.c
|
||||
test_wg_barrier.c
|
||||
test_enqueued_local_size.c
|
||||
test_global_linear_id.c
|
||||
test_local_linear_id.c
|
||||
test_progvar.cpp
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
if(APPLE)
|
||||
|
||||
@@ -12,16 +12,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_buffer_fill.c
|
||||
test_buffer_migrate.c
|
||||
test_image_migrate.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -5,14 +5,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
host_atomics.cpp
|
||||
main.cpp
|
||||
test_atomics.cpp
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -2,13 +2,6 @@ set(MODULE_NAME CPP_ADDRESS_SPACES)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_API)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_ATOMICS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_ATTRIBUTES)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_COMMON_FUNCS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_CONVERT)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_DEVICE_QUEUE)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_GEOMETRIC_FUNCS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,15 +2,6 @@ set(MODULE_NAME CPP_IMAGES)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_INTEGER_FUNCS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_MATH_FUNCS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_PIPES)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_PROGRAM_SCOPE_CTORS_DTORS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_REINTERPRET)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_RELATIONAL_FUNCS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_SPEC_CONSTANTS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_SUBGROUPS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_SYNCHRONIZATION)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_VLOAD_VSTORE_FUNCS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_WORKGROUPS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME CPP_WORKITEMS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -20,15 +20,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_fmaxf.c
|
||||
test_fminf.c
|
||||
test_binary_fn.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
add_subdirectory(test_common)
|
||||
add_subdirectory(test_conformance)
|
||||
|
||||
14
test_conformance/compatibility/test_common/CMakeLists.txt
Normal file
14
test_conformance/compatibility/test_common/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
set(HARNESS_COMPAT_SOURCES
|
||||
harness/errorHelpers.c
|
||||
harness/imageHelpers.cpp
|
||||
harness/kernelHelpers.c
|
||||
harness/testHarness.c
|
||||
)
|
||||
|
||||
set_source_files_properties(${HARNESS_COMPAT_SOURCES} PROPERTIES LANGUAGE CXX)
|
||||
|
||||
add_library(harness-compat STATIC ${HARNESS_COMPAT_SOURCES})
|
||||
|
||||
target_link_libraries(harness-compat harness-common)
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
|
||||
set(HARNESS_LIB harness-compat)
|
||||
|
||||
add_subdirectory(api)
|
||||
add_subdirectory(basic)
|
||||
|
||||
@@ -21,15 +21,8 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_null_buffer_arg.c
|
||||
test_kernel_arg_info.c
|
||||
test_queue_properties.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../../../test_common/harness/typeWrappers.cpp
|
||||
../../../../test_common/harness/conversions.c
|
||||
../../../../test_common/harness/mt19937.c
|
||||
../../../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/imageHelpers.cpp
|
||||
)
|
||||
|
||||
set(${MODULE_NAME}_LIBS harness-compat)
|
||||
|
||||
include(../../../CMakeCommon.txt)
|
||||
|
||||
@@ -50,16 +50,8 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_global_work_offsets.cpp
|
||||
test_kernel_call_kernel_function.cpp
|
||||
test_local_kernel_scope.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/imageHelpers.cpp
|
||||
../../../../test_common/harness/mt19937.c
|
||||
../../../../test_common/harness/conversions.c
|
||||
../../../../test_common/harness/rounding_mode.c
|
||||
../../../../test_common/harness/msvc9.c
|
||||
)
|
||||
|
||||
set(${MODULE_NAME}_LIBS harness-compat)
|
||||
|
||||
include(../../../CMakeCommon.txt)
|
||||
|
||||
@@ -10,17 +10,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_image_macro.c
|
||||
test_compiler_defines_for_extensions.cpp
|
||||
test_pragma_unroll.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/os_helpers.cpp
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -2,12 +2,6 @@ set(MODULE_NAME computeinfo)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -2,15 +2,6 @@ set(MODULE_NAME CONTRACTIONS)
|
||||
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
contractions.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/rounding_mode.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -11,16 +11,6 @@ endif(MSVC)
|
||||
|
||||
set (${MODULE_NAME}_SOURCES
|
||||
Sleep.c test_conversions.c basic_test_conversions.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/rounding_mode.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
if(ANDROID)
|
||||
|
||||
@@ -25,15 +25,6 @@ set(D3D10_SOURCES
|
||||
misc.cpp
|
||||
main.cpp
|
||||
harness.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_d3d10
|
||||
@@ -43,7 +34,7 @@ set_source_files_properties(
|
||||
${D3D10_SOURCES}
|
||||
PROPERTIES LANGUAGE CXX)
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_d3d10
|
||||
TARGET_LINK_LIBRARIES(conformance_test_d3d10 harness
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
endif(WIN32)
|
||||
|
||||
@@ -25,15 +25,6 @@ set(D3D11_SOURCES
|
||||
misc.cpp
|
||||
main.cpp
|
||||
harness.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_d3d11
|
||||
@@ -43,7 +34,7 @@ set_source_files_properties(
|
||||
${D3D11_SOURCES}
|
||||
PROPERTIES LANGUAGE CXX)
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_d3d11
|
||||
TARGET_LINK_LIBRARIES(conformance_test_d3d11 harness
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
endif(WIN32)
|
||||
|
||||
@@ -14,13 +14,6 @@ set(DEVICE_EXECUTION_SOURCES
|
||||
main.c
|
||||
nested_blocks.cpp
|
||||
utils.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -3,16 +3,5 @@ set(MODULE_NAME DEVICE_PARTITION)
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
test_device_partition.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/genericThread.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -3,12 +3,6 @@ set(MODULE_NAME DEVICE_TIMER)
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
test_device_timer.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -9,18 +9,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_userevents_multithreaded.cpp
|
||||
action_classes.cpp
|
||||
test_callbacks.cpp
|
||||
../../test_common/harness/genericThread.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -5,13 +5,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
basic_tests.cpp
|
||||
main.cpp
|
||||
stress_tests.cpp
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -4,15 +4,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
test_geometrics_double.cpp
|
||||
test_geometrics.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
# VS2005 optimization WAR for geom_length)
|
||||
|
||||
@@ -23,17 +23,6 @@ set (GL_SOURCES
|
||||
test_fence_sync.cpp
|
||||
helpers.cpp
|
||||
../../test_common/gl/helpers.cpp
|
||||
../../test_common/harness/genericThread.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
../../test_common/harness/imageHelpers.cpp
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
@@ -74,5 +63,5 @@ set_source_files_properties(
|
||||
target_include_directories(conformance_test_gl
|
||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_gl
|
||||
TARGET_LINK_LIBRARIES(conformance_test_gl harness
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
@@ -13,16 +13,6 @@ set (${MODULE_NAME}_SOURCES
|
||||
helpers.cpp
|
||||
setup_egl.cpp
|
||||
../../test_common/gles/helpers.cpp
|
||||
../../test_common/harness/genericThread.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
if(ANDROID)
|
||||
|
||||
@@ -5,14 +5,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
Test_vLoadHalf.c
|
||||
Test_roundTrip.c
|
||||
Test_vStoreHalf.c main.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/mingw_compat.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
set(HEADERS_SOURCES
|
||||
test_headers.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
set_source_files_properties(${HEADERS_SOURCES} PROPERTIES LANGUAGE CXX)
|
||||
@@ -19,7 +13,7 @@ add_executable(
|
||||
|
||||
set_property(TARGET ${HEADERS_OUT} PROPERTY FOLDER "CONFORMANCE${CONFORMANCE_SUFFIX}")
|
||||
|
||||
TARGET_LINK_LIBRARIES(${HEADERS_OUT} ${CLConform_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(${HEADERS_OUT} harness ${CLConform_LIBRARIES})
|
||||
|
||||
########################################################################################
|
||||
|
||||
@@ -38,7 +32,7 @@ add_executable(
|
||||
|
||||
set_property(TARGET ${CL_H_OUT} PROPERTY FOLDER "CONFORMANCE${CONFORMANCE_SUFFIX}")
|
||||
|
||||
TARGET_LINK_LIBRARIES(${CL_H_OUT} ${CLConform_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(${CL_H_OUT} harness ${CLConform_LIBRARIES})
|
||||
|
||||
########################################################################################
|
||||
|
||||
@@ -57,7 +51,7 @@ add_executable(
|
||||
|
||||
set_property(TARGET ${CL_PLATFORM_H_OUT} PROPERTY FOLDER "CONFORMANCE${CONFORMANCE_SUFFIX}")
|
||||
|
||||
TARGET_LINK_LIBRARIES(${CL_PLATFORM_H_OUT} ${CLConform_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(${CL_PLATFORM_H_OUT} harness ${CLConform_LIBRARIES})
|
||||
|
||||
########################################################################################
|
||||
|
||||
@@ -76,7 +70,7 @@ add_executable(
|
||||
|
||||
set_property(TARGET ${CL_GL_H_OUT} PROPERTY FOLDER "CONFORMANCE${CONFORMANCE_SUFFIX}")
|
||||
|
||||
TARGET_LINK_LIBRARIES(${CL_GL_H_OUT} ${CLConform_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(${CL_GL_H_OUT} harness ${CLConform_LIBRARIES})
|
||||
|
||||
########################################################################################
|
||||
|
||||
@@ -95,7 +89,7 @@ add_executable(
|
||||
|
||||
set_property(TARGET ${OPENCL_H_OUT} PROPERTY FOLDER "CONFORMANCE${CONFORMANCE_SUFFIX}")
|
||||
|
||||
TARGET_LINK_LIBRARIES(${OPENCL_H_OUT} ${CLConform_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(${OPENCL_H_OUT} harness ${CLConform_LIBRARIES})
|
||||
|
||||
########################################################################################
|
||||
|
||||
|
||||
@@ -12,17 +12,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_copy_3D_2D_array.cpp
|
||||
test_copy_generic.cpp
|
||||
test_loops.cpp
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/threadTesting.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/typeWrappers.cpp
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -11,17 +11,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_loops.cpp
|
||||
test_fill_3D.cpp
|
||||
# test_fill_2D_3D.cpp
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/threadTesting.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/typeWrappers.cpp
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -7,17 +7,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_2D.cpp
|
||||
test_loops.cpp
|
||||
test_3D.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/threadTesting.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/typeWrappers.cpp
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -8,17 +8,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_read_2D_array.cpp
|
||||
test_loops.cpp
|
||||
test_read_3D.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/threadTesting.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/typeWrappers.cpp
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -8,17 +8,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_2D_array.cpp
|
||||
test_loops.cpp
|
||||
test_3D.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/threadTesting.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/typeWrappers.cpp
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -13,17 +13,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_write_1D_array.cpp
|
||||
test_write_2D_array.cpp
|
||||
test_write_3D.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/threadTesting.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/typeWrappers.cpp
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -9,17 +9,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_read_1D_buffer.cpp
|
||||
test_read_1D_array.cpp
|
||||
test_read_2D_array.cpp
|
||||
../../../test_common/harness/errorHelpers.c
|
||||
../../../test_common/harness/threadTesting.c
|
||||
../../../test_common/harness/kernelHelpers.c
|
||||
../../../test_common/harness/imageHelpers.cpp
|
||||
../../../test_common/harness/mt19937.c
|
||||
../../../test_common/harness/conversions.c
|
||||
../../../test_common/harness/testHarness.c
|
||||
../../../test_common/harness/typeWrappers.cpp
|
||||
../../../test_common/harness/msvc9.c
|
||||
../../../test_common/harness/parseParameters.cpp
|
||||
../../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../../CMakeCommon.txt)
|
||||
|
||||
@@ -11,16 +11,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_unary_ops.cpp
|
||||
verification_and_generation_functions.c
|
||||
test_popcount.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -19,15 +19,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
unary_two_results.c
|
||||
unary_two_results_i.c
|
||||
unary_u.c
|
||||
../../test_common/harness/rounding_mode.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
|
||||
@@ -50,11 +41,6 @@ set_source_files_properties(
|
||||
COMPILE_FLAGS -msse2 )
|
||||
endif(NOT ANDROID)
|
||||
|
||||
set_source_files_properties(
|
||||
${MODULE_NAME}_SOURCES
|
||||
../../test_common/harness/crc32.c
|
||||
PROPERTIES LANGUAGE CXX)
|
||||
|
||||
if (NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID)
|
||||
set_source_files_properties(
|
||||
${MODULE_NAME}_SOURCES
|
||||
|
||||
@@ -4,18 +4,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
main.cpp
|
||||
mem_host_buffer.cpp
|
||||
mem_host_image.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/genericThread.cpp
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -4,17 +4,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
test_multiple_contexts.c
|
||||
test_multiple_devices.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/genericThread.cpp
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
|
||||
@@ -24,14 +13,6 @@ set_source_files_properties(
|
||||
set_source_files_properties(
|
||||
main.c
|
||||
test_multiple_contexts.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
PROPERTIES LANGUAGE CXX)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -8,12 +8,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_basic.cpp
|
||||
TestNonUniformWorkGroup.cpp
|
||||
tools.cpp
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -8,16 +8,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_pipe_query_functions.c
|
||||
test_pipe_readwrite_errors.c
|
||||
test_pipe_subgroups.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -5,18 +5,6 @@ set(CMAKE_CXX_STANDARD 11)
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
test_printf.c
|
||||
util_printf.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/testHarness.c
|
||||
#../../test_common/harness/imageHelpers.cpp
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -9,16 +9,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
copy.c
|
||||
execute.c
|
||||
execute_multipass.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/imageHelpers.cpp
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -6,15 +6,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_comparisons_float.cpp
|
||||
test_comparisons_double.cpp
|
||||
test_shuffles.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -3,13 +3,6 @@ set(MODULE_NAME SELECT)
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
test_select.c
|
||||
util_select.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -9,16 +9,8 @@ set (SPIR_SOURCES
|
||||
run_build_test.cpp
|
||||
run_services.cpp
|
||||
kernelargs.cpp
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../math_brute_force/FunctionList.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/os_helpers.cpp
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/miniz/miniz.c
|
||||
../../test_common/harness/crc32.c)
|
||||
)
|
||||
|
||||
add_executable(${SPIR_OUT}
|
||||
${SPIR_SOURCES})
|
||||
@@ -36,7 +28,7 @@ elseif(MSVC)
|
||||
COMPILE_FLAGS "/GR /EHs /EHc")
|
||||
endif()
|
||||
|
||||
TARGET_LINK_LIBRARIES(${SPIR_OUT}
|
||||
TARGET_LINK_LIBRARIES(${SPIR_OUT} harness
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
|
||||
|
||||
@@ -17,18 +17,6 @@ set(CMAKE_CXX_STANDARD 11)
|
||||
file(GLOB SPIRV_NEW_SOURCES "*.cpp")
|
||||
|
||||
set(TEST_HARNESS_SOURCES
|
||||
../../test_common/harness/crc32.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/rounding_mode.c
|
||||
../../test_common/harness/os_helpers.cpp
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_conformance/math_brute_force/reference_math.c
|
||||
../../test_conformance/math_brute_force/Utility.c
|
||||
)
|
||||
|
||||
@@ -6,16 +6,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_queries.cpp
|
||||
test_workitem.cpp
|
||||
test_workgroup.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/ThreadPool.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
@@ -3,16 +3,6 @@ set(MODULE_NAME THREAD_DIMENSIONS)
|
||||
set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
test_thread_dimensions.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/typeWrappers.cpp
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
set_source_files_properties(
|
||||
|
||||
@@ -6,14 +6,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
structs.c
|
||||
test_vec_align.c
|
||||
type_replacer.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
set_source_files_properties(
|
||||
|
||||
@@ -6,13 +6,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
main.c
|
||||
structs.c
|
||||
type_replacer.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
set_source_files_properties(
|
||||
|
||||
@@ -14,14 +14,6 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_wg_scan_inclusive_add.c
|
||||
test_wg_scan_inclusive_min.c
|
||||
test_wg_scan_inclusive_max.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
Reference in New Issue
Block a user