| 343 | |
| 344 | template <class T> |
| 345 | CUTE_HOST_DEVICE constexpr |
| 346 | uint32_t |
| 347 | raw_pointer_cast(tmem_ptr<T> const& ptr) { |
| 348 | return ptr.get(); |
| 349 | } |
| 350 | |
| 351 | // TMEM accounts for subword/superword elements already due to the offset shift based on sizeof_bits |
| 352 | // Thus, this is a trivial recast equivalent to reinterpret_cast<NewT*> |