Commit fb130f76 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 93ec7c49 a8d4294c
...@@ -62,7 +62,7 @@ __device__ auto readfirstlane(const Object& obj) ...@@ -62,7 +62,7 @@ __device__ auto readfirstlane(const Object& obj)
readfirstlane(*reinterpret_cast<const Sgpr*>(from + offset)); readfirstlane(*reinterpret_cast<const Sgpr*>(from + offset));
}); });
static constexpr std::size_t RemainedSize = ObjectSize % SgprSize; constexpr std::size_t RemainedSize = ObjectSize % SgprSize;
if constexpr(0 < RemainedSize) if constexpr(0 < RemainedSize)
{ {
using Carrier = detail::get_signed_int_t<RemainedSize>; using Carrier = detail::get_signed_int_t<RemainedSize>;
......
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