diff --git a/README.md b/README.md index d2fa33d..331cf35 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,51 @@ 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) +* Calvin Lieu + * [LinkedIn](www.linkedin.com/in/calvin-lieu-91912927b) +* Tested on: Windows 11, i5-13450HX @ 2.40GHz 16GB, NVIDIA GeForce RTX 5050 Laptop GPU 8GB (Personal) + +### + +Installing all the tools I need for GPU programming using an unfamiliar interface was certainly tricky! This was my first time setting up my own Windows system and first time using Visual Studio so this setup took a lot longer than expected. Thankfully everything seems to be working as expected. Proof below :) + +--- + +### CUDA project edit +![Name Change](images/1-main-rename.png) +*First time editing a CUDA project.* + +--- + +### Nsight CUDA debugging +![Thread Match](images/2-matched-thread-break.png) +*Breakpoint hit on a matched thread.* + +![Thread ID](images/3-thread-ids.png) +*The matching thread's info in locals tab.* + +The Nsight debugging tool looks like it will be very useful in identifying bugs in specific threads. + +--- + +### Nsight Systems profiling +![Nsight Sys](images/4-nsight-sys.png) +*Nsight Systems timeline.* + +![Nsight Sys Report](images/5-nsight-sys-rep.png) +*Summary report.* + +The Nsight Systems tool will be essential for optimizing code and ensuring efficient scaling with its detailed metrics and visualisations. + +--- + +### Web graphics capability +![WebGL](images/6-webgl-rep.png) +*WebGL compatibility report.* + +![WebGPU](images/7-webgpu-rep.png) +*WebGPU compatibility report.* + +My system is compatible with both WebGL and WebGPU—happy days. -### (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/src/kernel.cu b/cuda-gl-check/src/kernel.cu index 3fbd9b0..c09a8d8 100644 --- a/cuda-gl-check/src/kernel.cu +++ b/cuda-gl-check/src/kernel.cu @@ -67,7 +67,7 @@ __host__ __device__ void versionToColor(uchar4* pixel, int version) { pixel->x = 255; pixel->y = 0; pixel->z = 128; break; default: pixel->x = 0; pixel->y = 0; pixel->z = 0; - } + } } // Kernel that writes the image to the OpenGL PBO directly. diff --git a/cuda-gl-check/src/main.cpp b/cuda-gl-check/src/main.cpp index 886fd4c..1e8c2fa 100644 --- a/cuda-gl-check/src/main.cpp +++ b/cuda-gl-check/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 = "Calvin Lieu"; if (init(argc, argv)) { mainLoop(); diff --git a/images/1-main-rename.png b/images/1-main-rename.png new file mode 100644 index 0000000..3d30805 Binary files /dev/null and b/images/1-main-rename.png differ diff --git a/images/2-matched-thread-break.png b/images/2-matched-thread-break.png new file mode 100644 index 0000000..6141302 Binary files /dev/null and b/images/2-matched-thread-break.png differ diff --git a/images/3-thread-ids.png b/images/3-thread-ids.png new file mode 100644 index 0000000..7b7da6e Binary files /dev/null and b/images/3-thread-ids.png differ diff --git a/images/4-nsight-sys.png b/images/4-nsight-sys.png new file mode 100644 index 0000000..65142d1 Binary files /dev/null and b/images/4-nsight-sys.png differ diff --git a/images/5-nsight-sys-rep.png b/images/5-nsight-sys-rep.png new file mode 100644 index 0000000..840365b Binary files /dev/null and b/images/5-nsight-sys-rep.png differ diff --git a/images/6-webgl-rep.png b/images/6-webgl-rep.png new file mode 100644 index 0000000..8026b77 Binary files /dev/null and b/images/6-webgl-rep.png differ diff --git a/images/7-webgpu-rep.png b/images/7-webgpu-rep.png new file mode 100644 index 0000000..b288105 Binary files /dev/null and b/images/7-webgpu-rep.png differ