You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your indication is correct.
The error doesn't appear because this code is not called in current setting, but needs correction anyway.
We will fix next.
in utility.hpp line 446
template <>
device inline void store_uint8_vector<2u>(uint8_t *dest, const uint32_t *ptr){
uchar2 uint8x2;
uint8x2.x = static_cast<uint8_t>(ptr[0]);
uint8x2.y = static_cast<uint8_t>(ptr[0]);
store_as(dest, uint8x2);
}
should be right as following code
template <>
device inline void store_uint8_vector<2u>(uint8_t *dest, const uint32_t *ptr){
uchar2 uint8x2;
uint8x2.x = static_cast<uint8_t>(ptr[0]);
uint8x2.y = static_cast<uint8_t>(ptr[1]);
store_as(dest, uint8x2);
}
The text was updated successfully, but these errors were encountered: