Skip to content

Commit a71ba42

Browse files
committed
[SYCL][AsyncAlloc] Fix header formatting
1 parent c040f9a commit a71ba42

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sycl/include/sycl/ext/oneapi/experimental/async_alloc/memory_pool_properties.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace property::memory_pool {
2323
struct initial_threshold : public sycl::detail::PropertyWithData<
2424
sycl::detail::MemPoolInitialThreshold> {
2525
initial_threshold(size_t initialThreshold)
26-
: initialThreshold(initialThreshold) {};
26+
: initialThreshold(initialThreshold){};
2727
size_t get_initial_threshold() { return initialThreshold; }
2828

2929
private:
@@ -33,7 +33,7 @@ struct initial_threshold : public sycl::detail::PropertyWithData<
3333
// Property that determines the maximum size of a memory pool.
3434
struct maximum_size
3535
: public sycl::detail::PropertyWithData<sycl::detail::MemPoolMaximumSize> {
36-
maximum_size(size_t maxSize) : maxSize(maxSize) {};
36+
maximum_size(size_t maxSize) : maxSize(maxSize){};
3737
size_t get_maximum_size() { return maxSize; }
3838

3939
private:

sycl/source/detail/async_alloc.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ __SYCL_EXPORT void async_free(sycl::handler &h, void *ptr) {
148148

149149
__SYCL_EXPORT void async_free(const sycl::queue &q, void *ptr,
150150
const sycl::detail::code_location &CodeLoc) {
151-
submit(q, [&](sycl::handler &h) { async_free(h, ptr); }, CodeLoc);
151+
submit(
152+
q, [&](sycl::handler &h) { async_free(h, ptr); }, CodeLoc);
152153
}
153154

154155
} // namespace ext::oneapi::experimental

0 commit comments

Comments
 (0)