Skip to content

Commit 63667f0

Browse files
TODO: generic <-> constant
1 parent b2399f1 commit 63667f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/include/sycl/access/access.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ address_space_cast_is_possible(access::address_space Src,
399399
// No more compatible combinations.
400400
return false;
401401
}
402+
403+
// TODO: Should generic <-> constant be allowed?
402404
template <access::address_space Space, typename ElementType>
403405
auto static_address_cast(ElementType *Ptr) {
404406
constexpr auto generic_space = access::address_space::generic_space;

0 commit comments

Comments
 (0)