add a missing 'device_memory::' before a function

This commit is contained in:
Zheng Zeng
2021-04-25 20:05:39 +08:00
committed by GitHub
parent 7c783adf53
commit a8f6f8eb07

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;
}