What is the difference between the two inside the application code? Is it good to use cl_uint just to look uniform? Or will it run slower because of the alignments? I use them in very large vectors.
Thank you
What is the difference between the two inside the application code? Is it good to use cl_uint just to look uniform? Or will it run slower because of the alignments? I use them in very large vectors.
Thank you
The host side type ‘cl_uint’ is guaranteed to be the same format as the device side type ‘uint’. Depending of the platform, ‘unsigned int’ may be something different.