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

Remove more 'static' specifier

parent 55a81942
...@@ -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