The following code works on Nvidia, but the AMD and Intel OpenCL compilers complain about the absence of a valid address space qualifier:

Code :
__kernel void foo(__global float (*pointer_to_matrix)[3][4])
{
}

I think this code is legal. Any opinion?