Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator.cc899 Chunk& min_fit_chunk = chunk_candidate.chunk; in FindChunkCandidate() local
909 min_fit_chunk = {preferred_offset, buffer_interval.size}; in FindChunkCandidate()
914 min_fit_chunk = {preferred_offset, buffer_interval.size}; in FindChunkCandidate()
920 if ((preferred_offset < 0 || min_fit_chunk.offset != preferred_offset) && in FindChunkCandidate()
921 free_size < min_fit_chunk.size) { in FindChunkCandidate()
922 min_fit_chunk = {free_offset, free_size}; in FindChunkCandidate()
938 min_fit_chunk = {preferred_offset, buffer_interval.size}; in FindChunkCandidate()
941 if (min_fit_chunk.offset == -1) { in FindChunkCandidate()
944 min_fit_chunk = {offset, buffer_interval.size}; in FindChunkCandidate()
947 min_fit_chunk.size = buffer_interval.size; in FindChunkCandidate()