Fix some comment syntax; NFC
Clang checks that we got the /*param_name=*/blah syntax right. PiperOrigin-RevId: 348854070 Change-Id: Id3f3c1ac1402d014730e21463a1665a97a24c7a0
This commit is contained in:
parent
12b6de1bb3
commit
cb1bc8a498
@ -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_
|
||||
|
Loading…
Reference in New Issue
Block a user