Allow a managed numpy array to be passed directly to a kernel as if it
was a gpuarray.