dpctl
dpctl copied to clipboard
Added static assertions checking compiler version
DPCTLSyclInterface library needs to
- Introduce
DPCTL__SYCL_COMPILER_VERSION_REQUIRED - add
static_assert(defined(__SYCL_COMPILER_VERSION) && __SYCL_COMPILER_VERSION >= DPCTL__SYCL_COMPILER_VERSION_REQUIRED) - add preprocessor variables indicating the version of the library