Home
last modified time | relevance | path

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

/petsc/src/sys/objects/device/impls/sycl/
H A Dsyclcontext.sycl.cxx24 PetscBool timerInUse{}; member
75 static_cast<PetscDeviceContext_SYCL *>(dctx->data)->timerInUse = PETSC_FALSE; in setUp()
118 …PetscCheck(!dci->timerInUse, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Forgot to call PetscLogGpuTimeEnd()… in beginTimer()
119 dci->timerInUse = PETSC_TRUE; in beginTimer()
147 …PetscCheck(dci->timerInUse, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Forgot to call PetscLogGpuTimeBegin(… in endTimer()
148 dci->timerInUse = PETSC_FALSE; in endTimer()
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmcontext.hpp55 PetscBool timerInUse{}; member
318 dci->timerInUse = PETSC_FALSE; in setUp()
399 …PetscCheck(!dci->timerInUse, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Forgot to call PetscLogGpuTimeEnd()… in beginTimer()
400 dci->timerInUse = PETSC_TRUE; in beginTimer()
421 …PetscCheck(dci->timerInUse, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Forgot to call PetscLogGpuTimeBegin(… in endTimer()
422 dci->timerInUse = PETSC_FALSE; in endTimer()