summaryrefslogtreecommitdiff
path: root/tests/util/piglit-util-cl-enum.h
AgeCommit message (Collapse)AuthorFilesLines
2012-11-16Fix MacOS build for OpenCL testsAaron Watry1-1/+4
1) Fix creation of libpiglitutil_cl.dylib 2) Fix includes of OpenCL.h to finish fixing MacOS build Previous error message when linking dylib was: Linking C shared library ../../../../lib/libpiglitutil_cl.dylib Undefined symbols for architecture x86_64: "_piglit_cl_get_test_config", referenced from: _piglit_cl_framework_run in piglit-framework-cl.c.o ld: symbol(s) not found for architecture x86_64 Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
2012-09-05util-cl: Add utilities to support OpenCL testsBlaž Tomažič1-0/+95
piglit-util-cl.* adds functions for faster and easier writing of OpenCL programs. Most of the functions return NULL or false on errors and print the error to stderr, others print an error and exit the program. piglit-util-cl-enum.* files add enum definitions (some of them also by version) and their string representations. Signed-off-by: Blaž Tomažič <blaz.tomazic@gmail.com>