diff --git a/README.md b/README.md index d2fa33d..ed2bd50 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,42 @@ Project 0 Getting Started **University of Pennsylvania, CIS 5650: 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) +* Saahil Gupta + * [LinkedIn](www.linkedin.com/in/saahil-g), [personal website](www.saahil-gupta.com) +* Tested on: Windows 11 10.0.26100, AMD Ryzen 9 7940HS @ 4.0GHz 32GB, RTX 4060 Laptop GPU 8GB + +### Homework 0 - Getting Started + +Lots of local setup stuff needed to be configured. Errors with the Windows SDK detection were causing CMake compiler detection to fail. More detail will be added later on after some thorough debugging. Current WAR is to manually transfer the WinSDK lib and incl files to a readable path (like MSVC base folders). `CMakeLists.txt` has not been altered. `.vscode` has been included as it contains configurations for intellisense and linter support for CUDA and the VSCode C/C++ extension. + +### CUDA GL Check + +![cuda-gl-check](images/cuda-gl-check.png) + +### NSight Visual Studio + +![NSight-Visual-Studio](images/nsight-visual-studio.png) + +### NSight Compute + +![NSight-Compute-Details](images/nsight-compute-details.png) + +![NSight-Compute-Summary](images/nsight-compute-summary.png) + +### NSight Systems + +![NSight-Systems-Analysis-Summary](images/analysis-summary.png) + +![NSight-Systems-Timeline-View](images/timeline-view.png) + +### WebGL + +![WebGL](images/webgl.png) + +### WebGPU + +![WebGPU](images/webgpu.png) + + -### (TODO: Your 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.) diff --git a/cuda-gl-check/.vscode/c_cpp_properties.json b/cuda-gl-check/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..2a3c115 --- /dev/null +++ b/cuda-gl-check/.vscode/c_cpp_properties.json @@ -0,0 +1,26 @@ +{ + "configurations": [ + { + "name": "Win32", + "includePath": [ + "${default}", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/ucrt", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um", + "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/include", + "${workspaceFolder}/external/include" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "windowsSdkVersion": "10.0.19041.0", + "compilerPath": "cl.exe", + "cStandard": "c17", + "cppStandard": "c++17", + "intelliSenseMode": "windows-msvc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/cuda-gl-check/.vscode/settings.json b/cuda-gl-check/.vscode/settings.json new file mode 100644 index 0000000..09f63af --- /dev/null +++ b/cuda-gl-check/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "C_Cpp.intelliSenseEngine": "default", + "C_Cpp.default.compilerPath": "cl.exe" +} \ No newline at end of file diff --git a/cuda-gl-check/cuda-gl-check.ncp-rep.ncu-rep b/cuda-gl-check/cuda-gl-check.ncp-rep.ncu-rep new file mode 100644 index 0000000..e99a712 Binary files /dev/null and b/cuda-gl-check/cuda-gl-check.ncp-rep.ncu-rep differ diff --git a/cuda-gl-check/src/main.cpp b/cuda-gl-check/src/main.cpp index 886fd4c..05ecc93 100644 --- a/cuda-gl-check/src/main.cpp +++ b/cuda-gl-check/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 = "Saahil Gupta"; if (init(argc, argv)) { mainLoop(); diff --git a/images/analysis-summary.png b/images/analysis-summary.png new file mode 100644 index 0000000..6653054 Binary files /dev/null and b/images/analysis-summary.png differ diff --git a/images/cuda-gl-check.png b/images/cuda-gl-check.png new file mode 100644 index 0000000..85e4fe9 Binary files /dev/null and b/images/cuda-gl-check.png differ diff --git a/images/nsight-compute-details.png b/images/nsight-compute-details.png new file mode 100644 index 0000000..15ef1ad Binary files /dev/null and b/images/nsight-compute-details.png differ diff --git a/images/nsight-compute-summary.png b/images/nsight-compute-summary.png new file mode 100644 index 0000000..49b8684 Binary files /dev/null and b/images/nsight-compute-summary.png differ diff --git a/images/nsight-visual-studio.png b/images/nsight-visual-studio.png new file mode 100644 index 0000000..4095640 Binary files /dev/null and b/images/nsight-visual-studio.png differ diff --git a/images/timeline-view.png b/images/timeline-view.png new file mode 100644 index 0000000..b92cd3f Binary files /dev/null and b/images/timeline-view.png differ diff --git a/images/webgl.png b/images/webgl.png new file mode 100644 index 0000000..3214640 Binary files /dev/null and b/images/webgl.png differ diff --git a/images/webgpu.png b/images/webgpu.png new file mode 100644 index 0000000..d5ea3c0 Binary files /dev/null and b/images/webgpu.png differ