krrishnarraj / clpeak

A tool which profiles OpenCL devices to find their peak capacities
Apache License 2.0
396 stars 111 forks source link

Move to cl2.hpp as it fixes outputting strings to text files #46

Closed hjmallon closed 5 years ago

hjmallon commented 6 years ago

This fixes #39. Moving from cl.hpp to cl2.hpp.

I have set the CL_HPP_MINIMUM_OPENCL_VERSION and CL_HPP_TARGET_OPENCL_VERSION to 120. I am not sure these are the best values for all platforms but they are good for macOS.

krrishnarraj commented 5 years ago

cl2.hpp might not be available in every platform. Alternate fix is done https://github.com/krrishnarraj/clpeak/commit/62057eafa4d9848d9f637a4a03bfef158629cd54