Nested Include in compilation stage ComputeCPP 2.8.0

Hi,

When i tried compile a sycl program using the computecpp 2.8.0, the cmake return me a error: nested include.

After this, i checked the directory ComputeCPP/include/CL/sycl.hpp and ComputeCPP/include/CL/sycl.hpp and the content, in my opinion, is strange.

Could be a error ?

My specs is:

  • Ubuntu 20.03
  • gcc 9.3.0
  • All files needed to compile and execute OpenCL programs

thanks for help.

Rui

Thanks for your report. Can you tell us what steps you are following to compile, and what code you are trying to compile.
Do the instructions in the Getting Started guide work for you when building the samples?

What output does computecpp_info show?
Thanks.

Hi,
The output of the computecpp_info is correct, because show me my devices.

I trying compile the babelstream benchmark for model sycl.

I used this command im cmake:cmake -Bbuild -H. -DMODEL=sycl -DSYCL_COMPILER=COMPUTECPP -DSYCL_COMPILER_DIR=/opt/ComputeCPP/ -DOpenCL_LIBRARY=/usr/lib/x86_64-linux-gnu/libOpenCL.so

But, when i trying do make, the process stop and return this error: /opt/ComputeCPP/include/CL/sycl.hpp:1:10: fatal error: ‘…/SYCL/sycl.hpp’ file not found

For me make, sense because the folder names sycl. The version of the computecpp is 2.8.0.

Regards,
Rui

Hi Rui,
This looks like a configuration problem.
Can you please quickly ruun through the Getting Started guide just to check that you can build the samples correctly without this error?

If this works ok then it looks like a build configuration issue.