You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Throw static assertion if trying to use legacy master-access overload.
- Improve exception messages for when trying to access wrong buffer type
from within host/device tasks.
static_assert(!std::is_same_v<Functor, cl::sycl::range<Dims>>, "The buffer::get_access overload for master-access tasks (now called 'host tasks') has "
64
+
"been removed with Celerity 0.2.0. Please provide a range mapper instead.");
65
+
63
66
using rmfn_traits = allscale::utils::lambda_traits<Functor>;
64
67
static_assert(rmfn_traits::result_type::dims == Dims, "The returned subrange doesn't match buffer dimensions.");
65
68
@@ -79,7 +82,7 @@ class buffer {
79
82
// This also means that we have to clamp the subrange ourselves here, which is not ideal from an encapsulation standpoint.
0 commit comments