You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an example of using Unified Memory from CUDACasts Episode #X.
5
+
6
+
There are four examples
7
+
* dataElem.cu: original simple data structure example in vanilla CUDA C
8
+
* dataElem_um.cu: modified example that uses Unified Memory to simplify data allocation.
9
+
* dataElem_um_c++_1.cu: A C++ example that shows how to overload new and delete to use cudaMallocManaged().
10
+
* dataElem_um_c++_2.cu: A more complete C++ example that creates a managed String class and uses it to simplify the unified memory management inside our data structure.
0 commit comments