/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_device_factory.cc | 32 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()
|
D | gpu_device_test.cc | 292 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 …]
|
D | gpu_device.h | 78 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/ |
D | memcg_test_4.sh | 12 memory_limit="memory.max" 15 memory_limit="memory.limit_in_bytes" 29 echo 40M > "$test_path/$memory_limit"
|
D | memcg_regression_test.sh | 69 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/ |
D | memcg_control_test.sh | 49 ROD echo "$ACTIVE_MEM_LIMIT" \> "$test_dir/$memory_limit" 74 memory_limit="memory.max" 77 memory_limit="memory.limit_in_bytes"
|
/external/libchrome/base/ |
D | sys_info.cc | 39 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/ |
D | device.h | 166 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()
|
D | device.cc | 44 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/ |
D | stat_summarizer_options.h | 27 memory_limit(10), in StatSummarizerOptions() 37 int memory_limit; member
|
/external/cronet/base/system/ |
D | sys_info.cc | 63 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/ |
D | data_flow_ops.py | 1618 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/ |
D | stage_op.cc | 37 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/ |
D | pluggable_device_factory.cc | 81 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/ |
D | tpu_platform.cc | 168 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/ |
D | resource.c | 100 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/ |
D | config_test.py | 536 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/ |
D | remote_device_test.cc | 92 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/ |
D | q_fq_codel.c | 165 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/ |
D | system_info_lib.py | 131 device_info.memory_limit = d.memory_limit
|
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/ |
D | stage_op_test.py | 240 memory_limit = 512 * 1024 # 512K 242 capacity = memory_limit // chunk 251 ], memory_limit=memory_limit, shapes=[[]])
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_scrypt.py | 27 def _skip_if_memory_limited(memory_limit, params): argument 34 if memory_limit < memory_required:
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | OrderedMapClear.pbtxt | 12 name: "memory_limit"
|
D | StageClear.pbtxt | 12 name: "memory_limit"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | MapClear.pbtxt | 12 name: "memory_limit"
|