https://github.com/ChrisLidbury/CLSmith
OpenCL extension for csmith.
https://github.com/ChrisLidbury/CLSmith
Last synced: 7 months ago
JSON representation
OpenCL extension for csmith.
- Host: GitHub
- URL: https://github.com/ChrisLidbury/CLSmith
- Owner: ChrisLidbury
- License: other
- Created: 2014-01-08T18:12:14.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T17:15:23.000Z (over 8 years ago)
- Last Synced: 2024-10-28T02:52:15.866Z (about 1 year ago)
- Language: C++
- Size: 1.08 MB
- Stars: 23
- Watchers: 9
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
- CPLD-Guide - CLsmith - core environment, OpenCL. Its primary feature is the generation of random OpenCL kernels, exercising many features of the language. It also brings a novel idea of applying EMI, via dead-code injection. (OpenCL Tools, Libraries and Frameworks)
- VHDL-Guide - CLsmith - core environment, OpenCL. Its primary feature is the generation of random OpenCL kernels, exercising many features of the language. It also brings a novel idea of applying EMI, via dead-code injection. (OpenCL Tools, Libraries and Frameworks)
README
CLSmith - A random generator of OpenCL C programs.
Christopher Lidbury, Alastair Donaldson, Andrei Lascu, Nathan Chong
{christopher.lidbury10,alastair.donaldson,andrei.lascu10,n.chong10}@imperial.ac.uk
Imperial College London, Department of Computing
http://www3.imperial.ac.uk/computing
More information about discussions and where to post bug reports to come.
The OpenCL C part of the generator is largely kept in its own part, leaving
csmith as intact as possible (with some modifications made to allow CLSmith to
inject functionctionality into csmith or to pass control to CLSmith). Keeping
csmith and CLSmith separate turned out to be very tricky and probably not worth
the effort.
Both CLSmith and cl_launcher can be built with the included CMake files:
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build . --config Release -- -j 8
This generates the CLSmith and cl_launcher executables inside the build directory.