Skip to content

kachkov98/sycl-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sycl-project-template

SYCL project template with integration of ComputeCpp and Conan

External libraries

  1. cxxopts

Build prerequisites

  1. CMake (version >= 3.8)
  2. ComputeCpp - Codeplay's SYCL implementation
  3. Conan package manager

Build

mkdir build && cd build
cmake -DComputeCpp_DIR=<Path to ComputeCpp> -DCMAKE_CXX_COMPILER=compute++ -DCMAKE_BUILD_TYPE=Release -GNinja ..
cmake --build .

Example output

Running on Intel(R) HD Graphics

  A { 1, 2, 3, 4 }
+ B { 4, 3, 2, 1 }
------------------
= C { 5, 5, 5, 5 }

About

Template project for my SYCL demos

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published