Skip to content

Commit 2752d75

Browse files
committed
Added README.md
1 parent fee0a91 commit 2752d75

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

posts/unified-memory/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Unified Memory Example
2+
======================
3+
4+
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.
11+
12+

0 commit comments

Comments
 (0)