Lines Matching refs:mode
254 PetscMemoryAccessMode mode{PETSC_MEMORY_ACCESS_READ}; member
372 (*modes)[i] = it.second.mode; in PetscGetMarkedObjectMap_Internal()
431 const auto mode = PetscMemoryAccessModeToString(mapit->second.mode); in PetscDeviceContextSyncClearMap_Internal() local
435 oss << "[dctx " << it->dctx_id() << ", " << mode << ' ' << it->frame() << ']'; in PetscDeviceContextSyncClearMap_Internal()
483 …pit->first << "), intent " << PetscMemoryAccessModeToString(mapit->second.mode) << ' ' << it->fram… in PetscDeviceContextCheckNotOrphaned_Internal()
500 …&marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryAccessMode mode, PetscStackFrame<us… in MarkFromID_CompatibleModes() argument
508 …tscMemoryAccessModeToString(mode), object_dependencies.empty() ? "default" : "old", PetscMemoryAcc… in MarkFromID_CompatibleModes()
509 (void)mode; in MarkFromID_CompatibleModes()
529 …&marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryAccessMode mode, PetscStackFrame<us… in MarkFromID_IncompatibleModes_UpdateLastWrite() argument
540 …UG_INFO("moving last write dependency (intent %s)\n", PetscMemoryAccessModeToString(marked.mode))); in MarkFromID_IncompatibleModes_UpdateLastWrite()
550 … last dependency with last write\n", PetscMemoryAccessModeToString(marked.mode), PetscDeviceTypes[… in MarkFromID_IncompatibleModes_UpdateLastWrite()
555 …"we were also the last write event (intent %s), updating\n", PetscMemoryAccessModeToString(mode))); in MarkFromID_IncompatibleModes_UpdateLastWrite()
556 (void)mode; in MarkFromID_IncompatibleModes_UpdateLastWrite()
573 …&marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryAccessMode mode, PetscStackFrame<us… in MarkFromID_IncompatibleModes() argument
575 auto &old_mode = marked.mode; in MarkFromID_IncompatibleModes()
580 …%s), serializing then clearing (%zu) %s\n", PetscMemoryAccessModeToString(mode), object_dependenci… in MarkFromID_IncompatibleModes()
585 … PetscCall(MarkFromID_IncompatibleModes_UpdateLastWrite(marked, dctx, id, mode, frame, name, updat… in MarkFromID_IncompatibleModes()
587 old_mode = mode; in MarkFromID_IncompatibleModes()
594 …_Private(PetscDeviceContext dctx, PetscObjectId id, PetscMemoryAccessMode mode, PetscStackFrame<us… in PetscDeviceContextMarkIntentFromID_Private() argument
601 if ((marked.mode == PETSC_MEMORY_ACCESS_READ) && (mode == PETSC_MEMORY_ACCESS_READ)) { in PetscDeviceContextMarkIntentFromID_Private()
602 …PetscCall(MarkFromID_CompatibleModes(marked, dctx, id, mode, frame, name, &update_object_dependenc… in PetscDeviceContextMarkIntentFromID_Private()
604 …PetscCall(MarkFromID_IncompatibleModes(marked, dctx, id, mode, frame, name, &update_object_depende… in PetscDeviceContextMarkIntentFromID_Private()
608 … empty, creating new leaf" : "appending to existing leaves", PetscMemoryAccessModeToString(mode))); in PetscDeviceContextMarkIntentFromID_Private()
642 …entFromID(PetscDeviceContext dctx, PetscObjectId id, PetscMemoryAccessMode mode, const char name[]) in PetscDeviceContextMarkIntentFromID() argument
660 …PetscCall(PetscDeviceContextMarkIntentFromID_Private(dctx, id, mode, MarkedObjectMap::snapshot_typ… in PetscDeviceContextMarkIntentFromID()