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
a0035ecae0
commit
a99ef043be
@@ -3,6 +3,9 @@ function (install_spir_artifacts suite_name)
|
||||
COMPONENT OpenCLCTS)
|
||||
endfunction()
|
||||
|
||||
# Import function list from math_brute_force
|
||||
add_definitions(-DFUNCTION_LIST_ULPS_ONLY)
|
||||
|
||||
add_executable(
|
||||
conformance_test_spir
|
||||
main.cpp
|
||||
@@ -10,6 +13,7 @@ add_executable(
|
||||
run_build_test.cpp
|
||||
run_services.cpp
|
||||
kernelargs.cpp
|
||||
../math_brute_force/FunctionList.c
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
|
||||
Reference in New Issue
Block a user