MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Run

Method Run

tensorflow/compiler/xla/service/hlo_memory_scheduler.cc:721–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719 : size_function_(size_function), algorithm_(algorithm) {}
720
721StatusOr<bool> HloMemoryScheduler::Run(HloModule* module) {
722 TF_ASSIGN_OR_RETURN(HloSchedule schedule,
723 ScheduleModule(module, size_function_, algorithm_));
724 TF_RETURN_IF_ERROR(module->set_schedule(std::move(schedule)));
725 return true;
726}
727
728StatusOr<bool> HloTrivialScheduler::Run(HloModule* module) {
729 HloSchedule schedule(module);

Callers

nothing calls this directly

Calls 9

set_scheduleMethod · 0.80
IsFusionComputationMethod · 0.80
ReserveVisitStatesMethod · 0.80
has_scheduleMethod · 0.80
clear_scheduleMethod · 0.80
push_backMethod · 0.45
instruction_countMethod · 0.45
AcceptMethod · 0.45

Tested by

no test coverage detected