Bug in opencl host_dev copy in build_fields