opencl: save psudocode for map/unmap