Home
last modified time | relevance | path

Searched refs:initView (Results 1 – 2 of 2) sorted by relevance

/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmdevice.cxx248 auto initView = std::make_pair(*defaultView, PETSC_FALSE); in initialize() local
256 PetscCall(base_type::PetscOptionDeviceAll(comm, initType, initId, initView)); in initialize()
263 …PetscCheck((initType.first != PETSC_DEVICE_INIT_EAGER) && !initView.first, comm, PETSC_ERR_USER_IN… in initialize()
275 initView.first = PETSC_FALSE; in initialize()
297 if (initView.first) initType.first = PETSC_DEVICE_INIT_EAGER; in initialize()
305 *defaultView = initView.first; in initialize()
/petsc/src/sys/objects/device/impls/
H A Dimpldevicebase.hpp205 …itType, std::pair<PetscInt, PetscBool> &initId, std::pair<PetscBool, PetscBool> &initView) noexcept in PetscOptionDeviceBasic() argument
210 PetscCall(PetscOptionDeviceView(PetscOptionsObject, &initView.first, &initView.second)); in PetscOptionDeviceBasic()
215 …itType, std::pair<PetscInt, PetscBool> &initId, std::pair<PetscBool, PetscBool> &initView) noexcept in PetscOptionDeviceAll() argument
232 PetscCall(PetscOptionDeviceBasic(PetscOptionsObject, initType, initId, initView)); in PetscOptionDeviceAll()