From cb1bc8a498b6b8916b6a836d218e1e09c9b05c40 Mon Sep 17 00:00:00 2001 From: Sanjoy Das <sanjoy@google.com> Date: Wed, 23 Dec 2020 15:14:29 -0800 Subject: [PATCH] Fix some comment syntax; NFC Clang checks that we got the /*param_name=*/blah syntax right. PiperOrigin-RevId: 348854070 Change-Id: Id3f3c1ac1402d014730e21463a1665a97a24c7a0 --- tensorflow/core/common_runtime/process_state.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow/core/common_runtime/process_state.cc b/tensorflow/core/common_runtime/process_state.cc index 300e5b9c6ea..d18c3457e89 100644 --- a/tensorflow/core/common_runtime/process_state.cc +++ b/tensorflow/core/common_runtime/process_state.cc @@ -101,14 +101,14 @@ Allocator* ProcessState::GetCPUAllocator(int numa_node) { int64 cpu_mem_limit = cpu_mem_limit_in_mb * (1LL << 20); DCHECK(sub_allocator); allocator = - new BFCAllocator(sub_allocator, cpu_mem_limit, true /*allow_growth*/, - "bfc_cpu_allocator_for_gpu" /*name*/); + new BFCAllocator(sub_allocator, cpu_mem_limit, /*allow_growth=*/true, + /*name=*/"bfc_cpu_allocator_for_gpu"); VLOG(2) << "Using BFCAllocator with memory limit of " << cpu_mem_limit_in_mb << " MB for ProcessState CPU allocator"; } else if (sub_allocator) { DCHECK(sub_allocator); allocator = - new PoolAllocator(100 /*pool_size_limit*/, true /*auto_resize*/, + new PoolAllocator(/*pool_size_limit=*/100, /*auto_resize=*/true, sub_allocator, new NoopRounder, "cpu_pool"); VLOG(2) << "Using PoolAllocator for ProcessState CPU allocator " << "numa_enabled_=" << numa_enabled_