krrishnarraj / clpeak

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

Update CMakeLists.txt for cross compiling #116

Open smzahraee opened 2 months ago

smzahraee commented 2 months ago

this line has no effect on building and for cross compiling it produce error

krrishnarraj commented 2 months ago

This line is needed to check for presence of opencl.hpp

smzahraee commented 2 months ago

I have it, but it generates an error that does not exist

krrishnarraj commented 2 months ago

Then pass OpenCL_INCLUDE_DIRS in cmake so that it finds the header