Skip to content

Commit efb99d2

Browse files
committed
Fix opencl header include.
1 parent 30397fe commit efb99d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/sycl/exception.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
// 4.9.2 Exception Class Interface
1212

13-
#include <sycl/CL/cl_platform.h> // for cl_int
1413
#include <sycl/backend_types.hpp> // for backend
14+
#include <sycl/detail/cl.h> // for cl_int
1515
#include <sycl/detail/common.hpp> // for codeToString
1616
#include <sycl/detail/defines_elementary.hpp> // for __SYCL2020_DEPRECATED
1717
#include <sycl/detail/export.hpp> // for __SYCL_EXPORT

0 commit comments

Comments
 (0)