What is the most efficient way of converting an array of 16 bytes into
a uint4 vector ? currently, I manually OR the bytes into uints, then set
the vector’s components with the completed uints.
This is for OPenCL 1.2.
Thanks
What is the most efficient way of converting an array of 16 bytes into
a uint4 vector ? currently, I manually OR the bytes into uints, then set
the vector’s components with the completed uints.
This is for OPenCL 1.2.
Thanks
Read the data as a char16 and use as_uint4.