diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c80bce..6b7757f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(EXTERNAL_LIB_PATH "${EXTERNAL}/lib/linux" "/usr/lib64") elseif(WIN32) - if(${MSVC_VERSION} MATCHES "1900") + if(${MSVC_VERSION} MATCHES "1914") + set(EXTERNAL_LIB_PATH "${EXTERNAL}/lib/win/vc2015") + elseif(${MSVC_VERSION} MATCHES "1900") set(EXTERNAL_LIB_PATH "${EXTERNAL}/lib/win/vc2015") elseif(${MSVC_VERSION} MATCHES "1800") set(EXTERNAL_LIB_PATH "${EXTERNAL}/lib/win/vc2013") diff --git a/README.md b/README.md index 793f2b2..bb1ecc8 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,39 @@ 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) +* Vasu Mahesh + * [LinkedIn](http://linkedin.com/in/vasumahesh), [Code Blog](http://www.codeplaysleep.com) -### (TODO: Your README) +* Tested on a Laptop: + * Windows 10 + * i7-8650U @ 1.90GHz + * 16GB RAM + * GTX 1060 6GB + * Visual Studio 2017 (with v140 toolset) + * CUDA v9.2 -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +### Build + +Build Command: `cmake -G "Visual Studio 15 2017 Win64" -DCUDA_TOOLKIT_ROOT_DIR="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2" -T v140,cuda=9.2 ..` + +### Screenshots + +Application: + +![](images/img_name.PNG) + + +CUDA Timeline: + +![](images/img_timeline.PNG) + + +Local Variable w/ conditional breakpoint: + +![](images/img_index.PNG) + + +With Warp Window: + +![](images/img_warp.PNG) diff --git a/images/img_index.PNG b/images/img_index.PNG new file mode 100644 index 0000000..294ccc4 Binary files /dev/null and b/images/img_index.PNG differ diff --git a/images/img_name.PNG b/images/img_name.PNG new file mode 100644 index 0000000..388cff7 Binary files /dev/null and b/images/img_name.PNG differ diff --git a/images/img_timeline.PNG b/images/img_timeline.PNG new file mode 100644 index 0000000..ad46db3 Binary files /dev/null and b/images/img_timeline.PNG differ diff --git a/images/img_warp.PNG b/images/img_warp.PNG new file mode 100644 index 0000000..0210682 Binary files /dev/null and b/images/img_warp.PNG differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b98ef96..57c6787 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_50 ) diff --git a/src/main.cpp b/src/main.cpp index 886fd4c..7564789 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 = "Vasu Mahesh"; if (init(argc, argv)) { mainLoop();