Skip to content

Commit 965eafa

Browse files
committed
Apply clang-format
1 parent 726bf42 commit 965eafa

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

sycl/include/sycl/ext/oneapi/bindless_images_memory.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ class image_mem {
8787
__SYCL_EXPORT unsigned int get_num_channels() const;
8888
__SYCL_EXPORT image_type get_type() const;
8989

90-
__SYCL_EXPORT raw_handle_type
91-
__SYCL_EXPORT get_mip_level_mem_handle(const unsigned int level) const;
90+
__SYCL_EXPORT raw_handle_type __SYCL_EXPORT
91+
get_mip_level_mem_handle(const unsigned int level) const;
9292

9393
protected:
9494
std::shared_ptr<detail::image_mem_impl> impl;

sycl/include/sycl/handler.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2990,7 +2990,7 @@ class __SYCL_EXPORT handler {
29902990

29912991
/// Copies data from one memory region to another, where \p Src and \p Dest
29922992
/// are USM pointers. Allows for a sub-region copy, where \p SrcOffset ,
2993-
/// \p DestOffset , and \p Extent are used to determine the sub-region.
2993+
/// \p DestOffset , and \p Extent are used to determine the sub-region.
29942994
/// Pixel size is determined by \p DestImgDesc
29952995
/// An exception is thrown if either \p Src is nullptr or \p Dest is
29962996
/// incomplete.
@@ -3014,7 +3014,7 @@ class __SYCL_EXPORT handler {
30143014
void *Src, sycl::range<3> SrcOffset, void *Dest,
30153015
sycl::range<3> DestOffset,
30163016
const ext::oneapi::experimental::image_descriptor &DeviceImgDesc,
3017-
size_t DeviceRowPitch, sycl::range<3> HostExtent,
3017+
size_t DeviceRowPitch, sycl::range<3> HostExtent,
30183018
sycl::range<3> CopyExtent);
30193019

30203020
/// Instruct the queue with a non-blocking wait on an external semaphore.

sycl/include/sycl/sycl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
#include <sycl/ext/oneapi/annotated_arg/annotated_arg.hpp>
6868
#include <sycl/ext/oneapi/annotated_arg/annotated_ptr.hpp>
6969
#include <sycl/ext/oneapi/annotated_arg/properties.hpp>
70+
#include <sycl/ext/oneapi/bindless_images.hpp>
7071
#include <sycl/ext/oneapi/device_global/device_global.hpp>
7172
#include <sycl/ext/oneapi/device_global/properties.hpp>
7273
#include <sycl/ext/oneapi/experimental/ballot_group.hpp>
@@ -86,4 +87,3 @@
8687
#include <sycl/ext/oneapi/sub_group.hpp>
8788
#include <sycl/ext/oneapi/sub_group_mask.hpp>
8889
#include <sycl/ext/oneapi/weak_object.hpp>
89-
#include <sycl/ext/oneapi/bindless_images.hpp>

sycl/source/detail/bindless_images.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,9 @@ __SYCL_EXPORT image_mem_handle alloc_image_mem(const image_descriptor &desc,
206206
return alloc_image_mem(desc, syclQueue.get_device(), syclQueue.get_context());
207207
}
208208

209-
__SYCL_EXPORT image_mem_handle alloc_mipmap_mem(
210-
const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext) {
209+
__SYCL_EXPORT image_mem_handle
210+
alloc_mipmap_mem(const image_descriptor &desc, const sycl::device &syclDevice,
211+
const sycl::context &syclContext) {
211212
std::shared_ptr<sycl::detail::context_impl> CtxImpl =
212213
sycl::detail::getSyclObjImpl(syclContext);
213214
pi_context C = CtxImpl->getHandleRef();

0 commit comments

Comments
 (0)