summaryrefslogtreecommitdiff
path: root/tests/cl.py
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2015-04-11 19:41:09 -0400
committerJan Vesely <jan.vesely@rutgers.edu>2015-04-20 16:59:45 -0400
commite4b46dc198a6482d34280748022afd0e29729eaa (patch)
treea49ad661758927406e74d967d6a7baffc7fb180e /tests/cl.py
parent64ea3b50b042879c7c55729997cc4cdad1fe22bd (diff)
cl: Add tests for common builtin functions
Move sign and mix out of math All tests pass on Turks All tests except step pass on Intel CPU, it fails in NaN cases. v2: Remove min/max NaN tests. OpenCL 1.1 changed the wording, making the results undefined Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'tests/cl.py')
-rw-r--r--tests/cl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cl.py b/tests/cl.py
index dbc923283..064072948 100644
--- a/tests/cl.py
+++ b/tests/cl.py
@@ -123,5 +123,8 @@ add_program_test_dir(grouptools.join('program', 'execute', 'builtin'),
add_program_test_dir(grouptools.join('program', 'execute', 'builtin'),
os.path.join(GENERATED_TESTS_DIR, 'cl', 'builtin',
'relational'))
+add_program_test_dir(grouptools.join('program', 'execute', 'builtin'),
+ os.path.join(GENERATED_TESTS_DIR, 'cl', 'builtin',
+ 'common'))
add_program_test_dir(grouptools.join('program', 'execute', 'store'),
os.path.join(GENERATED_TESTS_DIR, 'cl', 'store'))