diff --git a/README.md b/README.md index 793f2b2..e50d51a 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,25 @@ 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) +* Zach Corse + * LinkedIn: https://www.linkedin.com/in/wzcorse/ + * Personal Website: https://wzcorse.com + * Twitter: @ZachCorse +* Tested on: Windows 10, i7-6700HQ @ 2.60GHz 32GB, NVIDIA GeForce GTX 970M (personal computer) -### (TODO: Your README) +### README -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +This is a simple assignment to demonstrate that CUDA is up and running on my personal machine. The expected output is a texture consisting of two blocks of color, one atop the other. The image is 800x800 pixels, and each pixel is written by a single thread. We can think of this texture as a 2D matrix. On the GPU, this matrix is subdivided into 16x16 blocks of threads, giving a thread density of 50x50 per block. + +*Note*: I edited line 10 of src/CMakeLists.txt. I had to specify that my specific GPU architecture is -arch=sm_50. + +Running CUDA v. 9.2 in Visual Studio 15 Community. + +![bluered](images/Capture.PNG) + +*code output* + +![nsightData](images/nsight.PNG) + +*demonstrating NVIDIA nsight performance analysis* diff --git a/images/Capture.PNG b/images/Capture.PNG new file mode 100644 index 0000000..436bd7a Binary files /dev/null and b/images/Capture.PNG differ diff --git a/images/nsight.PNG b/images/nsight.PNG new file mode 100644 index 0000000..bc0ec9b Binary files /dev/null and b/images/nsight.PNG differ diff --git a/src/main.cpp b/src/main.cpp index 886fd4c..3471484 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,8 +10,7 @@ * C main function. */ int main(int argc, char* argv[]) { - // TODO: Change this line to use your name! - m_yourName = "TODO: YOUR NAME HERE"; + m_yourName = "Zach Corse"; if (init(argc, argv)) { mainLoop();