Home
last modified time | relevance | path

Searched refs:memory_limit (Results 1 – 25 of 45) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device_factory.cc31 Bytes memory_limit, const DeviceLocality& locality, in GPUDevice() argument
34 : BaseGPUDevice(options, name, memory_limit, locality, tf_gpu_id, in GPUDevice()
64 const SessionOptions& options, const string& name, Bytes memory_limit, in CreateGPUDevice() argument
68 return absl::make_unique<GPUDevice>(options, name, memory_limit, locality, in CreateGPUDevice()
83 Bytes memory_limit, const DeviceLocality& locality, in GPUCompatibleCPUDevice() argument
85 : ThreadPoolDevice(options, name, memory_limit, locality, allocator), in GPUCompatibleCPUDevice()
Dgpu_device_test.cc177 EXPECT_GE(devices[0]->attributes().memory_limit(), 0); in TEST_F()
188 EXPECT_GE(devices[0]->attributes().memory_limit(), 0); in TEST_F()
197 EXPECT_EQ(123 << 20, devices[0]->attributes().memory_limit()); in TEST_F()
206 EXPECT_EQ(123 << 20, devices[0]->attributes().memory_limit()); in TEST_F()
207 EXPECT_EQ(456 << 20, devices[1]->attributes().memory_limit()); in TEST_F()
264 int64 memory_limit = devices[0]->attributes().memory_limit(); in TEST_F() local
265 ASSERT_EQ(memory_limit, static_cast<int64>(GetTotalGPUMemory(kPlatformGpuId) * in TEST_F()
275 (memory_limit >> 20) << 20); in TEST_F()
Dgpu_device.h55 Bytes memory_limit, const DeviceLocality& locality,
302 int64 memory_limit, const DeviceLocality& dev_locality,
306 const SessionOptions& options, const string& name, Bytes memory_limit,
/external/libchrome/base/
Dsys_info.cc39 size_t memory_limit = kLowMemoryDeviceThresholdMB * 1024 * 1024; in AmountOfAvailablePhysicalMemory() local
41 return memory_limit - std::min(memory_used, memory_limit); in AmountOfAvailablePhysicalMemory()
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_ops.py1501 memory_limit=0): argument
1527 self._memory_limit = memory_limit
1559 def memory_limit(self): member in BaseStagingArea
1743 memory_limit=0): argument
1779 capacity, memory_limit)
1815 memory_limit=self._memory_limit)
1855 memory_limit=self._memory_limit)
1885 memory_limit=self._memory_limit)
1907 memory_limit=self._memory_limit)
1926 memory_limit=self._memory_limit)
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Ddevice.h186 const string& name, DeviceType device, Bytes memory_limit,
190 const string& name, DeviceType device, Bytes memory_limit, in BuildDeviceAttributes() argument
193 return BuildDeviceAttributes(name, device, memory_limit, locality, ""); in BuildDeviceAttributes()
Ddevice.cc43 const string& name, DeviceType device, Bytes memory_limit, in BuildDeviceAttributes() argument
51 da.set_memory_limit(memory_limit.value()); in BuildDeviceAttributes()
Dthreadpool_device.cc45 const string& name, Bytes memory_limit, in ThreadPoolDevice() argument
49 name, DEVICE_CPU, memory_limit, locality)), in ThreadPoolDevice()
Dthreadpool_device.h28 Bytes memory_limit, const DeviceLocality& locality,
/external/tensorflow/tensorflow/core/util/
Dstat_summarizer_options.h28 memory_limit(10), in StatSummarizerOptions()
37 int memory_limit; variable
/external/tensorflow/tensorflow/core/kernels/
Dstage_op.cc37 explicit Buffer(std::size_t capacity, std::size_t memory_limit) in Buffer() argument
38 : capacity_(capacity), memory_limit_(memory_limit), current_bytes_(0) {} in Buffer()
186 int64 memory_limit; in GetBuffer() local
188 TF_RETURN_IF_ERROR(GetNodeAttr(ndef, "memory_limit", &memory_limit)); in GetBuffer()
189 *ret = new Buffer(capacity, memory_limit); in GetBuffer()
Dconv_ops_gpu.h42 DnnScratchAllocator(int64 memory_limit, OpKernelContext* context) in DnnScratchAllocator() argument
43 : memory_limit_(memory_limit), total_byte_size_(0), context_(context) {} in DnnScratchAllocator()
Dmap_stage_op.cc339 std::size_t memory_limit) in StagingMap() argument
342 memory_limit_(memory_limit), in StagingMap()
496 int64 memory_limit; in GetStagingMap() local
499 TF_RETURN_IF_ERROR(GetNodeAttr(ndef, "memory_limit", &memory_limit)); in GetStagingMap()
500 *ret = new StagingMap<Ordered>(dtypes, capacity, memory_limit); in GetStagingMap()
/external/ImageMagick/MagickCore/
Dresource.c98 memory_limit, member
309 limit=resource_info.memory_limit; in AcquireMagickResource()
780 resource=resource_info.memory_limit; in GetMagickResourceLimit()
847 memory_limit[MagickFormatExtent], in ListMagickResourceInfo() local
864 (void) FormatMagickSize(resource_info.memory_limit,MagickTrue,"B", in ListMagickResourceInfo()
865 MagickFormatExtent,memory_limit); in ListMagickResourceInfo()
882 (void) FormatLocaleFile(file," Memory: %s\n",memory_limit); in ListMagickResourceInfo()
982 limit=resource_info.memory_limit; in RelinquishMagickResource()
1362 resource_info.memory_limit=limit; in SetMagickResourceLimit()
1364 resource_info.memory_limit=MagickMin(limit,StringToMagickSizeType( in SetMagickResourceLimit()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device_test.cc88 EXPECT_EQ(devices_[0]->attributes().memory_limit(), 256 << 20); in TEST_F()
90 EXPECT_EQ(devices_[1]->attributes().memory_limit(), 256 << 20); in TEST_F()
/external/iproute2/tc/
Dq_fq_codel.c165 unsigned int memory_limit; in fq_codel_print_opt() local
206 memory_limit = rta_getattr_u32(tb[TCA_FQ_CODEL_MEMORY_LIMIT]); in fq_codel_print_opt()
208 fprintf(f, "memory_limit %s ", sprint_size(memory_limit, b1)); in fq_codel_print_opt()
/external/tensorflow/tensorflow/tools/test/
Dsystem_info_lib.py135 device_info.memory_limit = d.memory_limit
/external/tensorflow/tensorflow/python/kernel_tests/
Dstage_op_test.py232 memory_limit = 512 * 1024 # 512K
234 capacity = memory_limit // chunk
243 ], memory_limit=memory_limit, shapes=[[]])
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_device.h199 Bytes memory_limit, const DeviceLocality& locality, in SYCLDevice() argument
203 name, DEVICE_SYCL, memory_limit, locality, in SYCLDevice()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dfdt.c36 void ft_fixup_cpu(void *blob, u64 memory_limit) in ft_fixup_cpu() argument
111 if ((u64)bootpg < memory_limit) { in ft_fixup_cpu()
124 if (0xfffff000ull < memory_limit) { in ft_fixup_cpu()
134 if (spin_tbl_addr < memory_limit) { in ft_fixup_cpu()
/external/ImageMagick/coders/
Dfpx.c164 memory_limit; in ReadFPXImage() local
205 memory_limit=20000000; in ReadFPXImage()
206 fpx_status=FPX_SetToolkitMemoryLimit(&memory_limit); in ReadFPXImage()
801 memory_limit; in WriteFPXImage() local
833 memory_limit=20000000; in WriteFPXImage()
834 fpx_status=FPX_SetToolkitMemoryLimit(&memory_limit); in WriteFPXImage()
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model.cc389 int memory_limit = 10; in Main() local
422 Flag("memory_limit", &memory_limit, in Main()
518 stats_options.memory_limit = memory_limit; in Main()
/external/tensorflow/tensorflow/core/profiler/
Dprofile.proto43 uint64 memory_limit = 3; field
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Stage.pbtxt18 name: "memory_limit"
/external/tensorflow/tensorflow/core/framework/
Ddevice_attributes.proto40 int64 memory_limit = 4; field

12