Skip to content

Commit 0e081d2

Browse files
committed
Avoid redefinition of no-handler macro
1 parent 80e0538 commit 0e081d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/include/sycl/sycl.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ can be disabled by setting SYCL_DISABLE_FSYCL_SYCLHPP_WARNING macro.")
3232
#undef __SYCL_TOSTRING
3333
#undef __SYCL_STRINGIFY
3434

35+
#ifndef __DPCPP_ENABLE_UNFINISHED_NO_CGH_SUBMIT
3536
#define __DPCPP_ENABLE_UNFINISHED_NO_CGH_SUBMIT
37+
#endif
3638

3739
#include <sycl/detail/core.hpp>
3840

0 commit comments

Comments
 (0)