Searched refs:devidl (Results 1 – 1 of 1) sorted by relevance
149 const auto devidl = dctxl->device->deviceId, devidr = dctxr->device->deviceId; in check_current_device_() local152 …PetscCheck(devidl == devidr, PETSC_COMM_SELF, PETSC_ERR_GPU, "Device contexts must be on the same … in check_current_device_()153 PetscObjectCast(dctxl)->id, devidl, PetscObjectCast(dctxr)->id, devidr); in check_current_device_()154 PetscCall(PetscDeviceCheckDeviceCount_Internal(devidl)); in check_current_device_()156 PetscCallCUPM(cupmSetDevice(static_cast<int>(devidl))); in check_current_device_()