From d720f10758056f4e6887bdcab3b9ab1bcbd0abfa Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 5 Jun 2020 17:29:20 -0700 Subject: [PATCH] Liink error fix --- Grid/allocator/MemoryManagerShared.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Grid/allocator/MemoryManagerShared.cc b/Grid/allocator/MemoryManagerShared.cc index 0008add4..6bc7a73f 100644 --- a/Grid/allocator/MemoryManagerShared.cc +++ b/Grid/allocator/MemoryManagerShared.cc @@ -6,6 +6,13 @@ NAMESPACE_BEGIN(Grid); ///////////////////////////////////////////////////////////////////////////////// // View management is 1:1 address space mapping ///////////////////////////////////////////////////////////////////////////////// +uint64_t MemoryManager::DeviceBytes; +uint64_t MemoryManager::DeviceLRUBytes; +uint64_t MemoryManager::DeviceMaxBytes = 1024*1024*128; +uint64_t MemoryManager::HostToDeviceBytes; +uint64_t MemoryManager::DeviceToHostBytes; +uint64_t MemoryManager::HostToDeviceXfer; +uint64_t MemoryManager::DeviceToHostXfer; void MemoryManager::ViewClose(void* AccPtr,ViewMode mode){}; void *MemoryManager::ViewOpen(void* CpuPtr,size_t bytes,ViewMode mode,ViewAdvise hint){ return CpuPtr; };