Only modern Clang or GCC (but usually the latest versions are the best), Boost.Operators and a few other Boost libraries are needed.
To install them on latest Linux Debian/unstable (this should work on latest Ubuntu too, just adapt the compiler versions):
sudo apt-get install clang-11 g++-11 libomp-dev libboost-all-dev
There is nothing else to do for now to use the include files from triSYCL
include
directory when compiling a program. Just add a
-I.../include
option and -std=c++17
or even better -std=c++2a
when compiling.
triSYCL is configurable through preprocessor macros described in macros.
Also use -fopenmp
if you want to use OpenMP multicore parallelism
on the CPU.
The CMake
support is described in cmake.rst.
There are simple examples and tests in the tests directory. Look at tests/README.rst description.