Skip to content

Commit cb1bc8a

Browse files
Sanjoy Dastensorflower-gardener
authored andcommitted
Fix some comment syntax; NFC
Clang checks that we got the /*param_name=*/blah syntax right. PiperOrigin-RevId: 348854070 Change-Id: Id3f3c1ac1402d014730e21463a1665a97a24c7a0
1 parent 12b6de1 commit cb1bc8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tensorflow/core/common_runtime/process_state.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ Allocator* ProcessState::GetCPUAllocator(int numa_node) {
101101
int64 cpu_mem_limit = cpu_mem_limit_in_mb * (1LL << 20);
102102
DCHECK(sub_allocator);
103103
allocator =
104-
new BFCAllocator(sub_allocator, cpu_mem_limit, true /*allow_growth*/,
105-
"bfc_cpu_allocator_for_gpu" /*name*/);
104+
new BFCAllocator(sub_allocator, cpu_mem_limit, /*allow_growth=*/true,
105+
/*name=*/"bfc_cpu_allocator_for_gpu");
106106
VLOG(2) << "Using BFCAllocator with memory limit of "
107107
<< cpu_mem_limit_in_mb << " MB for ProcessState CPU allocator";
108108
} else if (sub_allocator) {
109109
DCHECK(sub_allocator);
110110
allocator =
111-
new PoolAllocator(100 /*pool_size_limit*/, true /*auto_resize*/,
111+
new PoolAllocator(/*pool_size_limit=*/100, /*auto_resize=*/true,
112112
sub_allocator, new NoopRounder, "cpu_pool");
113113
VLOG(2) << "Using PoolAllocator for ProcessState CPU allocator "
114114
<< "numa_enabled_=" << numa_enabled_

0 commit comments

Comments
 (0)