Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_memory_scheduler.cc237 int64 max_subcomputation_bytes = 0; in BytesFreedIfScheduled() local
242 if (subcomputation_bytes > max_subcomputation_bytes) { in BytesFreedIfScheduled()
243 max_subcomputation_bytes = subcomputation_bytes; in BytesFreedIfScheduled()
248 if (max_subcomputation_bytes > 0 && in BytesFreedIfScheduled()
253 bytes_defined = max_subcomputation_bytes; in BytesFreedIfScheduled()
255 bytes_defined = entry.bytes_defined + max_subcomputation_bytes; in BytesFreedIfScheduled()
Dheap_simulator.cc468 int64 max_subcomputation_bytes = 0; in AccountForSubcomputationMemory() local
473 if (subcomputation_bytes > max_subcomputation_bytes) { in AccountForSubcomputationMemory()
474 max_subcomputation_bytes = subcomputation_bytes; in AccountForSubcomputationMemory()
478 if (max_subcomputation_bytes > 0 && in AccountForSubcomputationMemory()
484 max_subcomputation_bytes -= alloc_size_by_instruction; in AccountForSubcomputationMemory()
487 std::max(max_heap_size_, current_heap_size_ + max_subcomputation_bytes); in AccountForSubcomputationMemory()