Commit 93ec7c49 authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Merge branch 'feature/support-readfirstlane-for-object-types' into...

Merge branch 'feature/support-readfirstlane-for-object-types' into feature/simplify-karg-for-device-gemm-xdl
parents 57b5a838 55a81942
...@@ -49,8 +49,8 @@ template < ...@@ -49,8 +49,8 @@ template <
typename = std::enable_if_t<std::is_class_v<Object> && std::is_trivially_copyable_v<Object>>> typename = std::enable_if_t<std::is_class_v<Object> && std::is_trivially_copyable_v<Object>>>
__device__ auto readfirstlane(const Object& obj) __device__ auto readfirstlane(const Object& obj)
{ {
static constexpr std::size_t SgprSize = 4; constexpr std::size_t SgprSize = 4;
static constexpr std::size_t ObjectSize = sizeof(Object); constexpr std::size_t ObjectSize = sizeof(Object);
using Sgpr = detail::get_signed_int_t<SgprSize>; using Sgpr = detail::get_signed_int_t<SgprSize>;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment