summaryrefslogtreecommitdiff
path: root/src/routines/common.cpp
AgeCommit message (Collapse)Author
2017-11-11Factored out the creation of the OpenCL header and the program compilationCedric Nugteren
2017-08-12Moved functions from the header to the .cpp file to prevent compiling the ↵Cedric Nugteren
same code multiple times
2016-10-22treewide: use C++ exceptions properlyIvan Shapovalov
Since the codebase is designed around proper C++ idioms such as RAII, it makes sense to only use C++ exceptions internally instead of mixing exceptions and error codes. The exceptions are now caught at top level to preserve compatibility with the existing error code-based API. Note that we deliberately do not catch C++ runtime errors (such as `std::bad_alloc`) nor logic errors (aka failed assertions) because no actual handling can ever happen for such errors. However, in the C interface we do catch _all_ exceptions (...) and convert them into a wild-card error code.
2016-07-22clblast::RunKernel, cl::Kernel: unify variants with/without waitForEvents, ↵Ivan Shapovalov
support empty LWS
2016-07-22clblast::RunKernel, cl::Kernel: take const vector as waitForEventsIvan Shapovalov
2016-07-06Added a VERBOSE mode to debug performance: now prints details about ↵Cedric Nugteren
compilation and kernel execution to screen
2016-06-19Renamed all C++ source files to .cpp to match the .hpp extension betterCedric Nugteren