You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Matthias Bach fa9ee89d05 Adjusted default option format to OpenCL spec 10 years ago
COPYING Added GNU License file 10 years ago
README.md Adjusted default option format to OpenCL spec 10 years ago
dummy.cl Initial version 10 years ago
option_count.py Adjusted default option format to OpenCL spec 10 years ago

README.md

OpenCL Build Options Test Suite

This is a collection of test cases to check how different OpenCL implementations handle build options passed to the OpenCL compiler.

Currently the only implemented test is a check for the number of build options that can be processed. This is implemented in the script option_count.py. Invoking the script with --help will give further details. One OpenCL implementation that shows a weak spot in that area is that of OS X Lion, which can only handle even numbers of build options if the options are given in the format -Dname. One should however be aware, however, that the OpenCL Specification only specifies the format -D name.

# Build Options      Build Result
---------------------------------
              0      success
              1      invalid build args
              2      success
              3      invalid build args
              4      success
              5      invalid build args
              6      success

A further test that should be done, but currently isn't, is specifying include paths containing spaces, as discussed on https://marix.org/content/opencl-und-include.

License

The OpenCL Build Options Test Suite is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The OpenCL Build Options Test Suite is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the OpenCL Build Options Test Suite. If not, see http://www.gnu.org/licenses/.

© 2012 Matthias Bach bach@compeng.uni-frankfurt.de