Lines Matching defs:PetscDeviceContext_IMPLS
49 struct PetscDeviceContext_IMPLS { struct in Petsc::device::cupm::impl::DeviceContext
50 stream_type stream{};
51 cupmEvent_t event{};
52 cupmEvent_t begin{}; // timer-only
53 cupmEvent_t end{}; // timer-only
55 PetscBool timerInUse{};
56 PetscBool EnergyMeterInUse{};
58 cupmBlasHandle_t blas{};
59 cupmSolverHandle_t solver{};
61 nvmlDevice_t nvmlHandle{};
62 unsigned long long energymeterbegin{};
63 unsigned long long energymeterend{};
68 …_NODISCARD const cupmStream_t &get(stream_tag) const noexcept { return this->stream.get_stream(); } in get()
70 PETSC_NODISCARD const cupmBlasHandle_t &get(blas_tag) const noexcept { return this->blas; } in get()
72 … PETSC_NODISCARD const cupmSolverHandle_t &get(solver_tag) const noexcept { return this->solver; } in get()