Merge pull request #251 from zheng95z/patch-1

add a missing 'device_memory::' before a function
This commit is contained in:
Haicheng Wu
2021-04-25 22:09:44 -04:00
committed by GitHub

View File

@@ -263,7 +263,7 @@ public:
smart_ptr.reset(device_memory::allocate<T>(p.capacity));
capacity = p.capacity;
}
copy_device_to_device(smart_ptr.get(), p.get(), capacity);
device_memory::copy_device_to_device(smart_ptr.get(), p.get(), capacity);
return *this;
}