Skip to content

Commit 3d498b6

Browse files
committed
address comment
1 parent e1f2457 commit 3d498b6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/comm/SYCLHelpers.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#include <comm/Scalar.h>
44
#include <sycl/sycl.hpp>
55

6-
#if !defined(SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS) || \
7-
(SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS != 1)
8-
#error This change enables event-less APIs, \
9-
please ensure SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS=1.
6+
#ifndef SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS
7+
#error FATAL ERROR: The SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS is excepted to be defined \
8+
to enqueue kernel without returning event. But the undef is detected!
109
#endif
1110

1211
// sycl access address space

0 commit comments

Comments
 (0)