We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f2457 commit 3d498b6Copy full SHA for 3d498b6
src/comm/SYCLHelpers.h
@@ -3,10 +3,9 @@
3
#include <comm/Scalar.h>
4
#include <sycl/sycl.hpp>
5
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.
+#ifndef SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS
+#error FATAL ERROR: The SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS is excepted to be defined \
+ to enqueue kernel without returning event. But the undef is detected!
10
#endif
11
12
// sycl access address space
0 commit comments