Coder Social home page Coder Social logo

Comments (3)

illuhad avatar illuhad commented on July 28, 2024 2

Hi,

I don't have experience with ComputeCpp 2.0. Does the CL/sycl.hpp header exist in your ComputeCpp install directory?

If ComputeCpp 2.0 supports already SYCL 2020, it is possible that we need to change the include to #include <sycl/sycl.hpp>, although <CL/sycl.hpp> should still be available for backwards-compatibility purposes (but is maybe not available by default?). The name of the SYCL header was changed with SYCL 2020, but SYCL-Bench still mainly targets SYCL 1.2.1.

from sycl-bench.

ruialves7 avatar ruialves7 commented on July 28, 2024

Hi,
I used this command in cmakecmake .. -D SYCL_IMPL=ComputeCpp -D ComputeCpp_INCLUDE_DIRS=/opt/ComputeCPP/include/ -DCOMPUTECPP_RUNTIME_LIBRARY=/opt/ComputeCPP/bin/ -DComputeCpp_INFO_EXECUTABLE=/opt/ComputeCPP/ -D COMPUTECPP_RUNTIME_LIBRARY_DEBUG=/opt/ComputeCPP/lib/

But after your suggestion i change the include and this fact solved my first problem, but now i have other: when i tried do a make using the cmake command above, the make command return a following error:
ompute++: error: unable to execute command: Executable "/usr/bin/spirv-ll-tool" doesn't exist!
compute++: error: spirv-ll-tool command failed with exit code 1 (use -v to see invocation)

I suspect I passed some error value in cmake flags but I'm not sure. Any suggestion?

Rui

from sycl-bench.

illuhad avatar illuhad commented on July 28, 2024

I'm not an expert on ComputeCpp and how it wants to be integrated with cmake - let's ask the experts from Codeplay. Pinging @rodburns as a first guess :)

from sycl-bench.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.