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.cc232 int64 max_subcomputation_bytes = 0; in BytesFreedIfScheduled() local
237 if (subcomputation_bytes > max_subcomputation_bytes) { in BytesFreedIfScheduled()
238 max_subcomputation_bytes = subcomputation_bytes; in BytesFreedIfScheduled()
243 if (max_subcomputation_bytes > 0 && in BytesFreedIfScheduled()
248 bytes_defined = max_subcomputation_bytes; in BytesFreedIfScheduled()
250 bytes_defined = entry.bytes_defined + max_subcomputation_bytes; in BytesFreedIfScheduled()
Dheap_simulator.cc534 int64 max_subcomputation_bytes = 0; in AccountForSubcomputationMemory() local
539 if (subcomputation_bytes > max_subcomputation_bytes) { in AccountForSubcomputationMemory()
540 max_subcomputation_bytes = subcomputation_bytes; in AccountForSubcomputationMemory()
544 if (max_subcomputation_bytes > 0 && in AccountForSubcomputationMemory()
550 max_subcomputation_bytes -= alloc_size_by_instruction; in AccountForSubcomputationMemory()
553 std::max(max_heap_size_, current_heap_size_ + max_subcomputation_bytes); in AccountForSubcomputationMemory()