Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device_factory.cc32 Bytes memory_limit, const DeviceLocality& locality, in GPUDevice() argument
35 : BaseGPUDevice(options, name, memory_limit, locality, tf_gpu_id, in GPUDevice()
65 const SessionOptions& options, const string& name, Bytes memory_limit, in CreateGPUDevice() argument
69 return absl::make_unique<GPUDevice>(options, name, memory_limit, locality, in CreateGPUDevice()
84 Bytes memory_limit, const DeviceLocality& locality, in GPUCompatibleCPUDevice() argument
86 : ThreadPoolDevice(options, name, memory_limit, locality, allocator), in GPUCompatibleCPUDevice()
Dgpu_device_test.cc206 EXPECT_GE(devices[0]->attributes().memory_limit(), 0); in TEST_F()
217 EXPECT_GE(devices[0]->attributes().memory_limit(), 0); in TEST_F()
226 EXPECT_EQ(123 << 20, devices[0]->attributes().memory_limit()); in TEST_F()
235 EXPECT_EQ(123 << 20, devices[0]->attributes().memory_limit()); in TEST_F()
236 EXPECT_EQ(456 << 20, devices[1]->attributes().memory_limit()); in TEST_F()
293 int64 memory_limit = devices[0]->attributes().memory_limit(); in TEST_F() local
294 ASSERT_EQ(memory_limit, static_cast<int64>(GetTotalGPUMemory(kPlatformGpuId) * in TEST_F()
304 (memory_limit >> 20) << 20); in TEST_F()
Dgpu_device.h55 Bytes memory_limit, const DeviceLocality& locality,
356 int64 memory_limit, const DeviceLocality& dev_locality,
360 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/core/common_runtime/
Ddevice.h174 const string& name, DeviceType device, Bytes memory_limit,
178 const string& name, DeviceType device, Bytes memory_limit, in BuildDeviceAttributes() argument
181 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.cc46 const string& name, Bytes memory_limit, in ThreadPoolDevice() argument
50 name, DEVICE_CPU, memory_limit, locality)), in ThreadPoolDevice()
/external/tensorflow/tensorflow/core/util/
Dstat_summarizer_options.h28 memory_limit(10), in StatSummarizerOptions()
37 int memory_limit; variable
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_ops.py1617 memory_limit=0): argument
1643 self._memory_limit = memory_limit
1675 def memory_limit(self): member in BaseStagingArea
1859 memory_limit=0): argument
1895 capacity, memory_limit)
1931 memory_limit=self._memory_limit)
1971 memory_limit=self._memory_limit)
2001 memory_limit=self._memory_limit)
2023 memory_limit=self._memory_limit)
2042 memory_limit=self._memory_limit)
[all …]
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py473 context.LogicalDeviceConfiguration(memory_limit=10),
474 context.LogicalDeviceConfiguration(memory_limit=10)
493 context.LogicalDeviceConfiguration(memory_limit=20),
494 context.LogicalDeviceConfiguration(memory_limit=20)
499 context.LogicalDeviceConfiguration(memory_limit=10),
500 context.LogicalDeviceConfiguration(memory_limit=10),
501 context.LogicalDeviceConfiguration(memory_limit=10)
506 context.LogicalDeviceConfiguration(memory_limit=10),
507 context.LogicalDeviceConfiguration(memory_limit=10)
576 context.LogicalDeviceConfiguration(memory_limit=10),
[all …]
/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()
/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/ImageMagick/MagickCore/
Dresource.c100 memory_limit, member
300 limit=resource_info.memory_limit; in AcquireMagickResource()
834 resource=resource_info.memory_limit; in GetMagickResourceLimit()
883 memory_limit[MagickFormatExtent], in ListMagickResourceInfo() local
904 (void) FormatMagickSize(resource_info.memory_limit,MagickTrue,"B", in ListMagickResourceInfo()
905 MagickFormatExtent,memory_limit); in ListMagickResourceInfo()
921 (void) FormatLocaleFile(file," Memory: %s\n",memory_limit); in ListMagickResourceInfo()
1022 limit=resource_info.memory_limit; in RelinquishMagickResource()
1440 resource_info.memory_limit=limit; in SetMagickResourceLimit()
1442 resource_info.memory_limit=MagickMin(limit,StringToMagickSizeType( in SetMagickResourceLimit()
/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.py139 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/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.-logical-device-configuration.pbtxt7 name: "memory_limit"
Dtensorflow.config.experimental.-virtual-device-configuration.pbtxt7 name: "memory_limit"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.-logical-device-configuration.pbtxt7 name: "memory_limit"
Dtensorflow.config.experimental.-virtual-device-configuration.pbtxt7 name: "memory_limit"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DStageClear.pbtxt12 name: "memory_limit"
DMapClear.pbtxt12 name: "memory_limit"
DOrderedMapClear.pbtxt12 name: "memory_limit"
DOrderedMapIncompleteSize.pbtxt16 name: "memory_limit"

123