Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h58 stats_.bytes_limit = total_memory; in MklSmallSizeAllocator()
96 stats_.bytes_limit = 0; in ClearStats()
265 stats_.bytes_limit = std::max(s_stats->bytes_limit, l_stats->bytes_limit); in GetStats()
Dmkl_cpu_allocator_test.cc31 EXPECT_EQ(stats->bytes_limit, 1000); in TEST()
41 EXPECT_EQ(stats->bytes_limit, max_mem_bytes); in TEST()
Dbfc_allocator.cc50 stats_.bytes_limit = static_cast<int64>(total_memory); in BFCAllocator()
/external/tensorflow/tensorflow/stream_executor/
Dallocator_stats.cc28 this->bytes_limit ? *this->bytes_limit : 0, this->bytes_in_use, in DebugString()
Dallocator_stats.h37 absl::optional<int64> bytes_limit; member
/external/tensorflow/tensorflow/contrib/memory_stats/kernels/
Dmemory_stats_ops.cc76 return allocator_stats.bytes_limit ? *allocator_stats.bytes_limit : -1; in ExtractAllocatorStats()
/external/tensorflow/tensorflow/contrib/memory_stats/python/kernel_tests/
Dmemory_stats_ops_test.py40 bytes_limit = sess.run(memory_stats_ops.BytesLimit())
41 self.assertLess(0, bytes_limit)
/external/tensorflow/tensorflow/core/framework/
Dallocator.cc36 this->bytes_limit ? *this->bytes_limit : 0, this->bytes_in_use, in DebugString()
Dallocator.h68 absl::optional<int64> bytes_limit; member
/external/tensorflow/tensorflow/contrib/memory_stats/python/ops/
Dmemory_stats_ops.py36 return gen_memory_stats_ops.bytes_limit()
/external/protobuf/src/google/protobuf/
Dwire_format_lite_inl.h365 int64 bytes_limit = input->BytesUntilTotalBytesLimit(); in ReadPackedFixedSizePrimitive() local
366 if (bytes_limit == -1) { in ReadPackedFixedSizePrimitive()
367 bytes_limit = input->BytesUntilLimit(); in ReadPackedFixedSizePrimitive()
369 bytes_limit = in ReadPackedFixedSizePrimitive()
370 std::min(bytes_limit, static_cast<int64>(input->BytesUntilLimit())); in ReadPackedFixedSizePrimitive()
372 if (bytes_limit >= new_bytes) { in ReadPackedFixedSizePrimitive()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc67 tf_stats.bytes_limit = se_stats->bytes_limit; in GetStats()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_allocator.cc26 stats_.bytes_limit = in SYCLAllocator()
/external/tensorflow/tensorflow/core/kernels/
Dstack.cc248 if (stats && *stats->bytes_limit && in ComputeAsync()
249 stats->bytes_in_use > (*stats->bytes_limit * kOccupancy)) { in ComputeAsync()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc1217 int64 bytes_limit = stats->bytes_limit ? *stats->bytes_limit : 0; in CreateGPUDevice() local
1219 options, device_name, static_cast<Bytes>(bytes_limit), dev_locality, in CreateGPUDevice()
1223 << (bytes_limit >> 20) << " MB memory) -> physical GPU (" in CreateGPUDevice()