Home
last modified time | relevance | path

Searched refs:PETSC_DEVICE_DEFAULT (Results 1 – 14 of 14) sorted by relevance

/petsc/src/sys/objects/device/tests/
H A Dex1.c23 PetscCall(PetscDeviceCreate(PETSC_DEVICE_DEFAULT(), PETSC_DECIDE, &device)); in main()
34 PetscCall(PetscDeviceCreate(PETSC_DEVICE_DEFAULT(), PETSC_DECIDE, &device)); in main()
H A Dex5.c14 PetscCall(PetscDeviceCreate(PETSC_DEVICE_DEFAULT(), PETSC_DECIDE, &device)); in main()
H A Dex8.c16 PetscCall(PetscDeviceCreate(PETSC_DEVICE_DEFAULT(), PETSC_DECIDE, &device)); in main()
/petsc/src/sys/objects/device/util/
H A Ddevicereg.c135PETSC_DEVICE_DEFAULT()), PETSC_COMM_SELF, PETSC_ERR_SUP, "PETSc is not configured with device supp… in PetscDeviceInitializePackage()
/petsc/src/sys/objects/device/interface/
H A Ddevice.cxx349 PetscDeviceType PETSC_DEVICE_DEFAULT(void) in PETSC_DEVICE_DEFAULT() function
635 auto deviceContextInitDevice = PETSC_DEVICE_DEFAULT(); in PetscDeviceInitializeFromOptions_Internal()
684 PetscCall(PetscDeviceContextSetRootDeviceType_Internal(PETSC_DEVICE_DEFAULT())); in PetscDeviceInitializeFromOptions_Internal()
694 auto dtype = std::make_pair(PETSC_DEVICE_DEFAULT(), PETSC_FALSE); in PetscDeviceInitializeFromOptions_Internal()
H A Ddcontext.cxx387 const auto default_dtype = PETSC_DEVICE_DEFAULT(); in PetscDeviceContextSetUp()
959 auto dtype = std::make_pair(PETSC_DEVICE_DEFAULT(), PETSC_FALSE); in PetscDeviceContextSetFromOptions()
H A Dmark_dcontext.cxx47 event->dtype = PETSC_DEVICE_DEFAULT(); in reset_()
/petsc/src/sys/objects/device/c/
H A Ddevice.c39 *type = PETSC_DEVICE_DEFAULT(); in PetscDeviceGetType()
51 PetscDeviceType PETSC_DEVICE_DEFAULT(void) in PETSC_DEVICE_DEFAULT() function
122 *type = PETSC_DEVICE_DEFAULT(); in PetscDeviceContextGetDeviceType()
/petsc/src/sys/objects/kokkos/
H A Dkinit.kokkos.cxx49 PetscCall(PetscDeviceCreate(PETSC_DEVICE_DEFAULT(), PETSC_DECIDE, &device)); in PetscKokkosInitializeCheck()
/petsc/include/
H A Dpetscdevice.h42 PETSC_EXTERN PetscDeviceType PETSC_DEVICE_DEFAULT(void);
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdevice.pxi41 PetscDeviceType PETSC_DEVICE_DEFAULT()
H A DDevice.pyx34 ("DEFAULT" , staticproperty(lambda *_, **__: PETSC_DEVICE_DEFAULT()))
/petsc/include/petsc/private/
H A Ddeviceimpl.h279 …ceGetDefault_Internal(device) PetscDeviceGetDefaultForType_Internal(PETSC_DEVICE_DEFAULT(), device)
/petsc/doc/changes/
H A D318.md102 - Make `PETSC_DEVICE_DEFAULT()` a function