Hi forum,

In the manual it is mentioned that

"Arguments to __kernel functions in a program cannot be declared with the built-in scalar types bool, half, size_t, ptrdiff_t, intptr_t, and uintptr_t". I need the pitch value to be passed to the kernel of type size_t.

Is there any other way to get around this issue?

Thanks