If I run kernel by calling clEnqueueNDRangeKernel with global work item offset, does get_global_id return offsetted value or I should offset it manualy?
size_t offset[1] = { some value};
clEnqueueNDRangeKernel(..., &offset[0], ...);
The right way will be:
int id = get_global_id(0)
or
int id = get_global_id(0) + get_global_offset(0);?