sycl_starter
sycl_starter copied to clipboard
Simple starter code for SYCL and Eigen
SYCL & Eigen Starter Project
Prerequisites
- SYCL implementation:
- Eigen starter requires ComputeCPP from Codeplay
- SYCL starter works with ComputeCPP and triSYCL
- Eigen linear algebra library with SYCL support. Bleeding edge SYCL development is happening here
Contents
- main_sycl.cc - share template code between C++ and OpenCL/SYCL
- main_eigen.cc - execute tensor operations on OpenCL/SYCL device
Building
mkdir build
cd build
cmake -DEIGEN3_INCLUDE_DIR=/path/to/eigen/source/root/ \
-DTRISYCL_INCLUDE_DIR=/path/to/trisycl/root/include \
-DCOMPUTECPP_PACKAGE_ROOT_DIR=/path/to/computecpp/sdk/root/ ..
cmake --build .