summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/allocator_op.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-16 22:27:07 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-16 22:27:07 +0100
commit15aac395a599c92016bd2d74a7c23ca6eea3d04d (patch)
treedf161c338e18369e075f4e33e3f51e4c362f35fc /include/ocl/allocator_op.hpp
parent7096a2b477782db54d9e0829b6ad7c6a3314dc2c (diff)
chore: format codebase according to .clang-format.v2.0
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/allocator_op.hpp')
-rw-r--r--include/ocl/allocator_op.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ocl/allocator_op.hpp b/include/ocl/allocator_op.hpp
index ed6ae90..dcdbdaa 100644
--- a/include/ocl/allocator_op.hpp
+++ b/include/ocl/allocator_op.hpp
@@ -64,12 +64,11 @@ namespace ocl
return std::shared_ptr<ret_type>(allocator_new{}.template var_alloc<var_type...>(std::forward<var_type...>(args)...), allocator_delete{});
}
- template<size_t N>
+ template <size_t N>
auto construct_array()
{
return std::shared_ptr<ret_type>(allocator_new{}.template array_alloc<N>(), allocator_delete{});
}
-
};
template <typename type>