Commit 7981e60
authored
[SYCL][ROCm] Fix building libclc for AMD (#4199)
This file uses `cl_mem_fence_flags`, `CLK_GLOBAL_MEM_FENCE`,
`CLK_LOCAL_MEM_FENCE`, which are defined by `clc.h`.
It wasn't included because when this file was written the OpenCL headers
were implicitely included, this has changed so now including the header
is necessary. See the discussion on #4133 for more details.1 parent 2af0599 commit 7981e60
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments