Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 914 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 914 Bytes

SYCL & Eigen Starter Project

Prerequisites

  • SYCL implementation:
  • 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 .