Skip to content

Commit 115ed23

Browse files
author
Hugh Delaney
committed
Add some comments
1 parent 7625b60 commit 115ed23

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sycl/include/sycl/backend.hpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,11 @@ inline backend_return_t<backend::ext_oneapi_cuda, context> interop_handle::
243243
getNativeContext());
244244
#else
245245
return 0;
246-
#endif
246+
#endif // __SYCL_DEVICE_ONLY__
247247
}
248248

249-
#endif
249+
#endif // SYCL_EXT_ONEAPI_BACKEND_CUDA
250+
250251
#if SYCL_EXT_ONEAPI_BACKEND_HIP
251252

252253
template <>
@@ -278,10 +279,10 @@ inline backend_return_t<backend::ext_oneapi_hip, context> interop_handle::
278279
getNativeContext());
279280
#else
280281
return 0;
281-
#endif
282+
#endif // __SYCL_DEVICE_ONLY__
282283
}
283284

284-
#endif
285+
#endif // SYCL_EXT_ONEAPI_BACKEND_HIP
285286

286287
template <backend BackendName, typename DataT, int Dimensions,
287288
access::mode AccessMode, access::target AccessTarget,

0 commit comments

Comments
 (0)