Skip to content

Commit 796a302

Browse files
committed
Add include of <sycl/sycl.hpp>
Somehow we forgot to add this `#include` to the examples.
1 parent aa94401 commit 796a302

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_free_function_kernels.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@ The following example demonstrates how to define a free function kernel and then
760760
enqueue it on a device.
761761

762762
```
763+
#include <sycl/sycl.hpp>
763764
namespace syclex = sycl::ext::oneapi::experimental;
764765

765766
static constexpr size_t NUM = 1024;
@@ -801,6 +802,7 @@ The following example demonstrates how to get a kernel identifier in such
801802
cases.
802803

803804
```
805+
#include <sycl/sycl.hpp>
804806
namespace syclex = sycl::ext::oneapi::experimental;
805807

806808
template<typename T>

0 commit comments

Comments
 (0)