Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 37 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
26 changes: 26 additions & 0 deletions cuda-gl-check/.vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -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
}
4 changes: 4 additions & 0 deletions cuda-gl-check/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"C_Cpp.intelliSenseEngine": "default",
"C_Cpp.default.compilerPath": "cl.exe"
}
Binary file added cuda-gl-check/cuda-gl-check.ncp-rep.ncu-rep
Binary file not shown.
3 changes: 1 addition & 2 deletions cuda-gl-check/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Binary file added images/analysis-summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cuda-gl-check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/nsight-compute-details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/nsight-compute-summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/nsight-visual-studio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/timeline-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/webgl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/webgpu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.