The pyopencl equivalent would be SVM buffers. See Shared Virtual Memory (SVM). Also, Helper functions for numpy-based SVM allocation.