I'm writing a simple OpenCL program which needs a two dimensional global worksize. When using a one dimensional worksize, I used a variable of type size_t to pass the value of the global worksize to the enqueueNDRange function.
What should I pass to the function now? A pointer to an array?
I've been googling this but I got nowhere.