Home
last modified time | relevance | path

Searched refs:deviceId (Results 1 – 7 of 7) sorted by relevance

/petsc/src/sys/objects/kokkos/
H A Dkinit.kokkos.cxx48 PetscInt deviceId; in PetscKokkosInitializeCheck() local
50 PetscCall(PetscDeviceGetDeviceId(device, &deviceId)); in PetscKokkosInitializeCheck()
54 if (deviceId >= 0) args.set_device_id(static_cast<int>(deviceId)); in PetscKokkosInitializeCheck()
56 args.set_device_id(static_cast<int>(deviceId)); in PetscKokkosInitializeCheck()
58 PetscCall(PetscMPIIntCast(deviceId, &args.device_id)); in PetscKokkosInitializeCheck()
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmcontext.hpp96 auto &handle = blashandles_[dctx->device->deviceId]; in initialize_handle_()
123 auto &handle = solverhandles_[dctx->device->deviceId]; in initialize_handle_()
149 const auto devidl = dctxl->device->deviceId, devidr = dctxr->device->deviceId; in check_current_device_()
270 PetscCallCUPM(cupmDeviceGetMemPool(&mempool, static_cast<int>(device->deviceId))); in initialize()
442 …if (!dci->nvmlHandle) PetscCallNVML(nvmlDeviceGetHandleByIndex(dctx->device->deviceId, &dci->nvmlH… in getPower()
461 …if (!dci->nvmlHandle) PetscCallNVML(nvmlDeviceGetHandleByIndex(dctx->device->deviceId, &dci->nvmlH… in beginEnergyMeter()
H A Dcupmdevice.cxx332 PetscCall(devices_[device->deviceId]->configure()); in configure_device_()
342 PetscCall(devices_[device->deviceId]->configure()); in view_device_()
343 PetscCall(devices_[device->deviceId]->view(viewer)); in view_device_()
/petsc/src/sys/objects/device/impls/
H A Dimpldevicebase.hpp98 device->deviceId = id; in getDevice()
126 PetscCall(derived_type::get_attribute_(device->deviceId, attr, value)); in getAttribute()
/petsc/src/sys/objects/device/impls/sycl/
H A Dsycldevice.sycl.cxx206 PetscCall(devices_[device->deviceId]->view(viewer)); in view_device_()
/petsc/src/sys/objects/device/interface/
H A Ddevice.cxx314 *id = device->deviceId; in PetscDeviceGetDeviceId()
/petsc/include/petsc/private/
H A Ddeviceimpl.h196 PetscInt deviceId; /* the id of the underlying device, i.e. the return of member