I tried allocating buffers with CL_MEM_USE_PERSISTENT_MEM_AMD set. For most machines this worked fine. But on some RHEL 6 machines mapping the buffer with clEnqueueMapBuffer failed.
Is this flag something I should use only on certain hardware or driver versions? If so, how can I tell when it is ok to use?