Skip to content

Commit 7b02697

Browse files
[SYCL] Align usm_allocator ctor and operators with SYCL2020 (#6867)
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
1 parent 3aa48db commit 7b02697

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/include/sycl/usm/usm_allocator.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ class usm_allocator {
3838
AllocKind != usm::alloc::device,
3939
"usm_allocator does not support AllocKind == usm::alloc::device");
4040

41-
usm_allocator() noexcept = delete;
41+
usm_allocator() = delete;
4242
usm_allocator(const context &Ctxt, const device &Dev,
43-
const property_list &PropList = {}) noexcept
43+
const property_list &PropList = {})
4444
: MContext(Ctxt), MDevice(Dev), MPropList(PropList) {}
45-
usm_allocator(const queue &Q, const property_list &PropList = {}) noexcept
45+
usm_allocator(const queue &Q, const property_list &PropList = {})
4646
: MContext(Q.get_context()), MDevice(Q.get_device()),
4747
MPropList(PropList) {}
48-
usm_allocator(const usm_allocator &) noexcept = default;
48+
usm_allocator(const usm_allocator &) = default;
4949
usm_allocator(usm_allocator &&) noexcept = default;
5050
usm_allocator &operator=(const usm_allocator &Other) {
5151
MContext = Other.MContext;

0 commit comments

Comments
 (0)