Home
last modified time | relevance | path

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

/petsc/src/sys/objects/device/impls/
H A Dimpldevicebase.hpp135 const auto implname = PetscDeviceTypes[dtype]; in PetscOptionDevice() local
141 const auto len = std::strlen(optstub) + std::strlen(implname); in PetscOptionDevice()
143 …har buffer is not large enough to hold '%s%s'; have %zu need %zu", optstub, implname, buflen, len); in PetscOptionDevice()
145 PetscCall(PetscSNPrintf(buf.data(), buflen, "%s%s", optstub, implname)); in PetscOptionDevice()
219 const auto implname = PetscDeviceTypes[dtype]; in PetscOptionDeviceAll() local
226 const auto len = std::strlen(implname) + PETSC_STATIC_ARRAY_LENGTH(optname) - 3; in PetscOptionDeviceAll()
228 …r is not large enough to hold 'PetscDevice %s Options'; have %zu need %zu", implname, buflen, len); in PetscOptionDeviceAll()
230 PetscCall(PetscSNPrintf(buf.data(), buflen, optname, implname)); in PetscOptionDeviceAll()