pass __global void* to kernel