Trick-17 / backends

Interchangeable backends in C++, OpenMP, CUDA, OpenCL, OpenACC
MIT License
2 stars 0 forks source link

Implement testing for cuda and opencl #3

Open GPMueller opened 7 years ago

GPMueller commented 7 years ago

Can we somehow do this abstractly (i.e. only once for cpp cu and cl at once) or do we have to write a test for each version?

An idea might be to put a switch in the CMakeLists to cpp ´cudaoropencl, which then changes which version is included with a#define`