Skip to content

Files

Latest commit

08bf300 · May 22, 2023

History

History
This branch is 3 commits ahead of, 90 commits behind codeplaysoftware/portBLAS:main.

samples

SYCL-BLAS samples

How to compile the samples

At the moment any project using SYCL-BLAS requires:

  • OpenCL
  • ComputeCpp
  • SYCL-BLAS, either:
    • as a library (install the library and include sycl_blas.h in an application)
    • as a header-only framework (include sycl_blas.hpp in an application)

With CMake

This folder contains a basic CMake configuration file and a module to find SYCL-BLAS (which will be used as a header-only framework). It also uses a module to find ComputeCpp that is located in the folder cmake/Modules.

Usage:

  • set ComputeCpp_DIR to your ComputeCpp root path
  • set SyclBLAS_DIR to your SYCL-BLAS root path
mkdir build
cd build
cmake .. -GNinja -DComputeCpp_DIR=/path/to/computecpp \
                 -DSyclBLAS_DIR=~/path/to/syclblas
ninja