unsigned int or cl_uint?

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 :slight_smile:

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.