Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace property::memory_pool {
struct initial_threshold : public sycl::detail::PropertyWithData<
sycl::detail::MemPoolInitialThreshold> {
initial_threshold(size_t initialThreshold)
: initialThreshold(initialThreshold) {};
: initialThreshold(initialThreshold){};
size_t get_initial_threshold() { return initialThreshold; }

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

private:
Expand Down
3 changes: 2 additions & 1 deletion sycl/source/detail/async_alloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ __SYCL_EXPORT void async_free(sycl::handler &h, void *ptr) {

__SYCL_EXPORT void async_free(const sycl::queue &q, void *ptr,
const sycl::detail::code_location &CodeLoc) {
submit(q, [&](sycl::handler &h) { async_free(h, ptr); }, CodeLoc);
submit(
q, [&](sycl::handler &h) { async_free(h, ptr); }, CodeLoc);
}

} // namespace ext::oneapi::experimental
Expand Down
2 changes: 1 addition & 1 deletion sycl/source/detail/context_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ void context_impl::verifyProps(const property_list &Props) const {
std::shared_ptr<sycl::ext::oneapi::experimental::detail::memory_pool_impl>
context_impl::get_default_memory_pool(const context &Context,
const device &Device,
const usm::alloc &Kind) {
[[maybe_unused]] const usm::alloc &Kind) {

assert(Kind == usm::alloc::device);

Expand Down
Loading