Home
last modified time | relevance | path

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

12345

/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_device_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.cc292 EXPECT_GE(devices[0]->attributes().memory_limit(), 0); in TEST_F()
304 EXPECT_GE(devices[0]->attributes().memory_limit(), 0); in TEST_F()
314 EXPECT_EQ(devices[0]->attributes().memory_limit(), 123 << 20); in TEST_F()
375 EXPECT_EQ(devices[0]->attributes().memory_limit(), 123 << 20); in TEST_F()
387 EXPECT_EQ(devices[0]->attributes().memory_limit(), 123 << 20); in TEST_F()
388 EXPECT_EQ(devices[1]->attributes().memory_limit(), 456 << 20); in TEST_F()
430 EXPECT_EQ(devices[0]->attributes().memory_limit(), 123 << 20); in TEST_F()
431 EXPECT_EQ(devices[1]->attributes().memory_limit(), 456 << 20); in TEST_F()
444 EXPECT_EQ(devices[0]->attributes().memory_limit(), 2 << 20); in TEST_F()
445 EXPECT_EQ(devices[1]->attributes().memory_limit(), 1 << 20); in TEST_F()
[all …]
Dgpu_device.h78 Bytes memory_limit, const DeviceLocality& locality,
391 TfDeviceId tf_device_id, int64_t memory_limit,
396 const SessionOptions& options, const string& name, Bytes memory_limit,
/external/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_4.sh12 memory_limit="memory.max"
15 memory_limit="memory.limit_in_bytes"
29 echo 40M > "$test_path/$memory_limit"
Dmemcg_regression_test.sh69 memory_limit="memory.max"
71 memory_limit="memory.limit_in_bytes"
110 ROD echo 0 \> "$test_path/$memory_limit"
/external/ltp/testcases/kernel/controllers/memcg/control/
Dmemcg_control_test.sh49 ROD echo "$ACTIVE_MEM_LIMIT" \> "$test_dir/$memory_limit"
74 memory_limit="memory.max"
77 memory_limit="memory.limit_in_bytes"
/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/framework/
Ddevice.h166 const std::string& name, DeviceType device, Bytes memory_limit,
170 const std::string& name, DeviceType device, Bytes memory_limit, in BuildDeviceAttributes() argument
173 return BuildDeviceAttributes(name, device, memory_limit, locality, ""); in BuildDeviceAttributes()
Ddevice.cc44 const string& name, DeviceType device, Bytes memory_limit, in BuildDeviceAttributes() argument
52 da.set_memory_limit(memory_limit.value()); in BuildDeviceAttributes()
/external/tensorflow/tensorflow/core/util/
Dstat_summarizer_options.h27 memory_limit(10), in StatSummarizerOptions()
37 int memory_limit; member
/external/cronet/base/system/
Dsys_info.cc63 uint64_t memory_limit = kLowMemoryDeviceThresholdMB * 1024 * 1024; in AmountOfAvailablePhysicalMemory() local
65 return memory_limit - std::min(memory_used, memory_limit); in AmountOfAvailablePhysicalMemory()
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_ops.py1618 memory_limit=0): argument
1644 self._memory_limit = memory_limit
1676 def memory_limit(self): member in BaseStagingArea
1860 memory_limit=0): argument
1896 capacity, memory_limit)
1932 memory_limit=self._memory_limit)
1972 memory_limit=self._memory_limit)
2002 memory_limit=self._memory_limit)
2024 memory_limit=self._memory_limit)
2043 memory_limit=self._memory_limit)
[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_t 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/common_runtime/pluggable_device/
Dpluggable_device_factory.cc81 int64_t* memory_limit) { in SingleVirtualDeviceMemoryLimit() argument
111 *memory_limit = allocated_memory; in SingleVirtualDeviceMemoryLimit()
227 TfDeviceId tf_device_id, int64_t memory_limit, in CreatePluggableDevice() argument
250 options.config.gpu_options(), tf_device_id, memory_limit); in CreatePluggableDevice()
254 tf_device_id.value(), " with", memory_limit, " bytes of memory. "); in CreatePluggableDevice()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/tpu/
Dtpu_platform.cc168 Status TpuPlatform::TpuMemoryLimit(int64_t* memory_limit) { in TpuMemoryLimit() argument
172 *memory_limit = 0; in TpuMemoryLimit()
177 reinterpret_cast<int64_t*>(memory_limit), status); in TpuMemoryLimit()
/external/ImageMagick/MagickCore/
Dresource.c100 memory_limit, member
303 limit=resource_info.memory_limit; in AcquireMagickResource()
837 resource=resource_info.memory_limit; in GetMagickResourceLimit()
886 memory_limit[MagickFormatExtent], in ListMagickResourceInfo() local
907 (void) FormatMagickSize(resource_info.memory_limit,MagickTrue,"B", in ListMagickResourceInfo()
908 MagickFormatExtent,memory_limit); in ListMagickResourceInfo()
924 (void) FormatLocaleFile(file," Memory: %s\n",memory_limit); in ListMagickResourceInfo()
1025 limit=resource_info.memory_limit; in RelinquishMagickResource()
1446 resource_info.memory_limit=limit; in SetMagickResourceLimit()
1448 resource_info.memory_limit=MagickMin(limit,StringToMagickSizeType( in SetMagickResourceLimit()
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py536 context.LogicalDeviceConfiguration(memory_limit=10),
537 context.LogicalDeviceConfiguration(memory_limit=10)
557 context.LogicalDeviceConfiguration(memory_limit=20),
558 context.LogicalDeviceConfiguration(memory_limit=20)
563 context.LogicalDeviceConfiguration(memory_limit=10),
564 context.LogicalDeviceConfiguration(memory_limit=10),
565 context.LogicalDeviceConfiguration(memory_limit=10)
570 context.LogicalDeviceConfiguration(memory_limit=10),
571 context.LogicalDeviceConfiguration(memory_limit=10)
741 context.LogicalDeviceConfiguration(memory_limit=10),
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device_test.cc92 EXPECT_EQ(devices_[0]->attributes().memory_limit(), 256 << 20); in TEST_F()
95 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.py131 device_info.memory_limit = d.memory_limit
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/
Dstage_op_test.py240 memory_limit = 512 * 1024 # 512K
242 capacity = memory_limit // chunk
251 ], memory_limit=memory_limit, shapes=[[]])
/external/python/cryptography/tests/hazmat/primitives/
Dtest_scrypt.py27 def _skip_if_memory_limited(memory_limit, params): argument
34 if memory_limit < memory_required:
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DOrderedMapClear.pbtxt12 name: "memory_limit"
DStageClear.pbtxt12 name: "memory_limit"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DMapClear.pbtxt12 name: "memory_limit"

12345