Skip to content

Commit e2d4dff

Browse files
"// clang-format off" for misbehaving clang-format lint fail
1 parent 4d9c727 commit e2d4dff

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

sycl/include/sycl/properties/context_properties.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ namespace property {
3131
namespace context {
3232
namespace __SYCL2020_DEPRECATED(
3333
"use 'sycl::ext::oneapi::cuda::property::context' instead") cuda {
34-
class use_primary_context : public ::cl::sycl::ext::oneapi::cuda::property::
35-
context::use_primary_context {};
34+
class use_primary_context : public ::cl::sycl::ext::oneapi::cuda::property::
35+
context::use_primary_context {};
36+
// clang-format off
3637
} // namespace cuda
38+
// clang-format on
3739
} // namespace context
3840
} // namespace property
3941

sycl/include/sycl/properties/queue_properties.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ namespace property {
4646
namespace queue {
4747
namespace __SYCL2020_DEPRECATED(
4848
"use 'sycl::ext::oneapi::cuda::property::queue' instead") cuda {
49-
class use_default_stream : public ::cl::sycl::ext::oneapi::cuda::property::
50-
queue::use_default_stream {};
49+
class use_default_stream : public ::cl::sycl::ext::oneapi::cuda::property::
50+
queue::use_default_stream {};
51+
// clang-format off
5152
} // namespace cuda
53+
// clang-format on
5254
} // namespace queue
5355
} // namespace property
5456

0 commit comments

Comments
 (0)