diff --git a/README.md b/README.md index 793f2b2..2418004 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,37 @@ Project 0 CUDA Getting Started **University of Pennsylvania, CIS 565: GPU Programming and Architecture, Project 0** -* (TODO) YOUR NAME HERE - * (TODO) [LinkedIn](), [personal website](), [twitter](), etc. -* Tested on: (TODO) Windows 22, i7-2222 @ 2.22GHz 22GB, GTX 222 222MB (Moore 2222 Lab) +* Edward Atter + * [LinkedIn](https://www.linkedin.com/in/atter/) + * Tested on: Linux Mint 18.3 Sylvia (4.13.0-41-generic), Ryzen 7 2700x @ 3.7 ghz (base clock) 16GB, GTX 1070 TI 8GB GDDR5 (Personal) + * CUDA 9 -### (TODO: Your README) +### Project Information -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +#### Modify +![Program with name modification](images/modify.png) + +#### Analyze + +![Profiler view](images/profile.png) + +#### Debug (CUDA-GDB on Linux) + +Debugger works after adding `export CUDA_DEBUGGER_SOFTWARE_PREEMPTION=1` to `~/.bashrc`. + +![](images/gdb1.png) +![](images/gdb2.png) + +#### Edits to CMakeLists.txt + +`src/CMakeLists.txt` was updated to increment the architecture value from 20 to 30. + + cuda_add_library(src + ${SOURCE_FILES} + OPTIONS -arch=sm_30 + ) + +#### Feedback + +A nice intro to the dev environment. diff --git a/images/gdb1.png b/images/gdb1.png new file mode 100644 index 0000000..0e7021d Binary files /dev/null and b/images/gdb1.png differ diff --git a/images/gdb2.png b/images/gdb2.png new file mode 100644 index 0000000..0dfb059 Binary files /dev/null and b/images/gdb2.png differ diff --git a/images/modify.png b/images/modify.png new file mode 100644 index 0000000..f0cbe50 Binary files /dev/null and b/images/modify.png differ diff --git a/images/profile.png b/images/profile.png new file mode 100644 index 0000000..718d633 Binary files /dev/null and b/images/profile.png differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b98ef96..23937e7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,5 +7,5 @@ set(SOURCE_FILES cuda_add_library(src ${SOURCE_FILES} - OPTIONS -arch=sm_20 + OPTIONS -arch=sm_30 ) diff --git a/src/main.cpp b/src/main.cpp index 886fd4c..07d37c8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,7 +11,7 @@ */ int main(int argc, char* argv[]) { // TODO: Change this line to use your name! - m_yourName = "TODO: YOUR NAME HERE"; + m_yourName = "Edward Atter"; if (init(argc, argv)) { mainLoop();