Home
last modified time | relevance | path

Searched refs:PetscDeviceTypeCast (Results 1 – 4 of 4) sorted by relevance

/petsc/include/petsc/private/
H A Ddeviceimpl.h32 #define PetscDeviceTypeCast(...) static_cast<PetscDeviceType>(__VA_ARGS__) macro
36 #define PetscDeviceTypeCast(...) ((PetscDeviceType)(__VA_ARGS__)) macro
60 PetscDeviceType pvdt_dtype_ = PetscDeviceTypeCast(dtype); \
74 PetscDeviceType pccdt_dtype1_ = PetscDeviceTypeCast(dtype1); \
75 PetscDeviceType pccdt_dtype2_ = PetscDeviceTypeCast(dtype2); \
/petsc/src/sys/objects/device/interface/
H A Ddevice.cxx565 *deviceContextInitDevice = PetscDeviceTypeCast(initDeviceIdx); in PetscDeviceInitializeQueryOptions_Private()
665 const auto deviceType = PetscDeviceTypeCast(i); in PetscDeviceInitializeFromOptions_Internal()
H A Dpetscdevice_interface_internal.hpp188 deviceType.first = PetscDeviceTypeCast(dtype); in PetscDeviceContextQueryOptions_Internal()
/petsc/src/sys/logging/handler/impls/default/
H A Dlogdefault.c1215 const PetscDeviceType dtype = PetscDeviceTypeCast(i); in PetscLogViewWarnNoGpuAwareMpi()