Check whether cuda supports smart pointers? If it does, modify the code to reduce the size.
Check whether cuda supports smart pointers? If it does, modify the code to reduce the size.