Skip to content

Commit

Permalink
Fix command_group_access_guard type usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fknorr committed Dec 17, 2024
1 parent b71bad5 commit a758e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/simsycl/sycl/accessor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ class accessor<DataT, Dimensions, AccessMode, target::constant_buffer, IsPlaceho
} constexpr inline static internal{};

DataT *m_buffer = nullptr;
std::shared_ptr<detail::command_group_access_guard<1>> m_guard; // shared_ptr: accessors must be copyable
std::shared_ptr<detail::command_group_access_guard<Dimensions>> m_guard; // shared_ptr: accessors must be copyable
range<Dimensions> m_buffer_range;
id<Dimensions> m_access_offset;
range<Dimensions> m_access_range;
Expand Down

0 comments on commit a758e9f

Please sign in to comment.