nvgrace_gpu_wait_device_ready
ret = nvgrace_gpu_wait_device_ready(io);
ret = nvgrace_gpu_wait_device_ready(vdev->barmap[0]);