Skip to content

Commit cbf5c6a

Browse files
fwyzardAlexander Johnston
authored andcommitted
[SYCL][CUDA] Inline cl namespace to simplify SYCL API usage
Synchronise the CUDA backend with the general SYCL changes from #974. Signed-off-by: Andrea Bocci <[email protected]>
1 parent 5d1e5e4 commit cbf5c6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/include/CL/sycl/backend/cuda.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
namespace cl {
9+
#include <CL/sycl/detail/defines.hpp>
10+
11+
__SYCL_INLINE namespace cl {
1012
namespace sycl {
1113
namespace backend {
1214
namespace cuda {

0 commit comments

Comments
 (0)