Add to / from int_ptr in opencl_support