KhronosGroup / SyclParallelSTL

Open Source Parallel STL implementation
Other
517 stars 83 forks source link

compiling with DPC++ #95

Open bachittle opened 2 years ago

bachittle commented 2 years ago

It is possible to use sycl with this compiler: https://github.com/intel/llvm. There should be support to compile this in the cmakelists, since right now only computecpp and trisycl are supported.

bachittle commented 2 years ago

example of compiling here: https://github.com/KhronosGroup/SyclParallelSTL/pull/96

DuncanMcBain commented 2 years ago

Hi @bachittle, thanks for reporting this! I think this project needs a few updates to be better aligned with SYCL 2020 in general, not just with Intel's SYCL implementation.

In the meantime, Intel offers https://docs.oneapi.io/versions/latest/onedpl/pstl_main.html which sounds like it might be a better fit for now? I've not used it personally but it seems to fit your use-case.

bachittle commented 2 years ago

It seems like that requires oneapi, whereas intel llvm is not reliant on oneapi, it is a separate entity. But it does seem like onedpl in general is open-source so I will look more into that. My guess is it interfaces with oneapi, which is proprietary.