Skip to content

Commit b671e7b

Browse files
committed
Fix formatting
Signed-off-by: Steffen Larsen <[email protected]>
1 parent 255b422 commit b671e7b

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

sycl/include/CL/sycl/buffer.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,7 @@ class buffer {
513513
template <typename HT, int HDims, typename HAllocT>
514514
friend buffer<HT, HDims, HAllocT, void>
515515
detail::make_buffer_helper(pi_native_handle, const context &, event);
516-
template <typename RT, int RDims>
517-
friend struct detail::ManagedResource;
516+
template <typename RT, int RDims> friend struct detail::ManagedResource;
518517

519518
range<dimensions> Range;
520519
// Offset field specifies the origin of the sub buffer inside the parent

sycl/include/CL/sycl/handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ class __SYCL_EXPORT handler {
479479
void addReduction(const std::shared_ptr<const void> &ReduObj) {
480480
MSharedPtrStorage.push_back(ReduObj);
481481
}
482-
482+
483483
/// Gets the context implementation of the context associated with the
484484
/// handler.
485485
///

sycl/source/detail/context_impl.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,7 @@ class context_impl {
171171
/// Gets the resource pool of the SYCL context.
172172
///
173173
/// \return a reference to the resource pool.
174-
ResourcePool &getResourcePool() {
175-
return MAuxiliaryResourcePool;
176-
}
174+
ResourcePool &getResourcePool() { return MAuxiliaryResourcePool; }
177175

178176
private:
179177
async_handler MAsyncHandler;

0 commit comments

Comments
 (0)