Skip to content

ChrisCummins/CLSmith

 
 

Repository files navigation

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.

About

OpenCL extension for csmith.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 59.8%
  • Shell 14.0%
  • Makefile 10.1%
  • Perl 9.0%
  • C 3.8%
  • M4 2.2%
  • Other 1.1%