Skip to content

Commit

Permalink
Merge branch '46-fix_store_uint8_vector' into 'master'
Browse files Browse the repository at this point in the history
Fix store_uint8_vector<2u>

See merge request tech/adaskit/libSGM!60
  • Loading branch information
Yoriyuki Kitta committed Aug 23, 2022
2 parents 2ae011f + 096f026 commit 91c399d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ 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]);
uint8x2.y = static_cast<uint8_t>(ptr[1]);
store_as<uchar2>(dest, uint8x2);
}

Expand Down

0 comments on commit 91c399d

Please sign in to comment.