dpctl icon indicating copy to clipboard operation
dpctl copied to clipboard

Added static assertions checking compiler version

Open oleksandr-pavlyk opened this issue 3 years ago • 0 comments

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

oleksandr-pavlyk avatar Nov 04 '22 14:11 oleksandr-pavlyk