mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
Reuse math_brute_force ulp threshold in spir test
Spir test compares floating-point kernel results bit-by-bit with correct results. However, for math_brute_force kernels, specification does not ask for SPIR and OpenCL C path to match bit-to-bit. This patch reuses ulps threshold from math_brute_force folder for math_brute_force kernels in spir test. Signed-off-by: Wenju He <wenju.he@intel.com>
This commit is contained in:
committed by
Alastair Murray
parent
f0289e2077
commit
e4a2f1e326
@@ -4,13 +4,17 @@ endfunction()
|
||||
|
||||
include_directories(${CLConf_SRC_DIR}/test_common)
|
||||
|
||||
# Import function list from math_brute_force
|
||||
add_definitions(-DFUNCTION_LIST_ULPS_ONLY)
|
||||
|
||||
clconf_add_executable(
|
||||
test_spir
|
||||
main.cpp
|
||||
datagen.cpp
|
||||
run_build_test.cpp
|
||||
run_services.cpp
|
||||
kernelargs.cpp)
|
||||
kernelargs.cpp
|
||||
../math_brute_force/FunctionList.c)
|
||||
|
||||
target_link_libraries(
|
||||
test_spir${CLConf_SUFFIX}
|
||||
|
||||
Reference in New Issue
Block a user