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

Fix wrong pointer type

parent b94fd0b2
......@@ -71,7 +71,7 @@ __device__ auto amd_wave_read_first_lane(const Object& obj)
{
using Carrier = detail::get_unsigned_int_t<RemainedSize>;
*reinterpret_cast<Carrier>(to_obj + CompleteSgprCopyBoundary) = amd_wave_read_first_lane(
*reinterpret_cast<Carrier*>(to_obj + CompleteSgprCopyBoundary) = amd_wave_read_first_lane(
*reinterpret_cast<const Carrier*>(from_obj + CompleteSgprCopyBoundary));
}
......
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