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
commit 8f8a80cad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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