Skip to content

Commit

Permalink
fixed unified_allocator message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanming-hu committed Jan 3, 2020
1 parent 11bcb64 commit cd14691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/unified_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void taichi::Tlang::UnifiedAllocator::create(bool gpu) {
std::size_t phys_mem_size;
GetPhysicallyInstalledSystemMemory(&phys_mem_size); // KB
phys_mem_size /= 1024; // MB
TC_INFO("Physical memory size size {} MB", phys_mem_size);
TC_INFO("Physical memory size {} MB", phys_mem_size);
auto virtual_mem_to_allocate = (phys_mem_size << 20) / 4;
TC_INFO("Allocating virtual memory pool (size = {} MB)",
virtual_mem_to_allocate / 1024 / 1024);
Expand Down

0 comments on commit cd14691

Please sign in to comment.