diff --git a/README.md b/README.md index dd258af..715668c 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,28 @@ Project 0 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) +* Han Yang + * [LinkedIn](https://www.linkedin.com/in/han-yang-0031231a3/), [personal website](https://bdwhst.wixsite.com/portfolio), etc. +* Tested on: Windows 11, i9-12900HX @ 2.30GHz 16GB, RTX4080 laptop 12GB -### (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.) +CUDA support +![](./images/cuda.png) + +Nsight systems profiling report + +![](./images/nsys_report.png) + +Nsight CUDA debug + +![](./images/nsight_debug.png) + +WebGL support (HW accel) + +![](./images/webgl_support.png) + +DXR support (full support) + +![](./images/dxr_support.png) diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..b125903 100644 --- a/cuda-getting-started/src/main.cpp +++ b/cuda-getting-started/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 = "Han Yang"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..cddf086 100644 --- a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl +++ b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl @@ -69,7 +69,7 @@ void MyRaygenShader() [shader("closesthit")] void MyClosestHitShader(inout RayPayload payload, in MyAttributes attr) { - float3 barycentrics = float3(1 - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y); + float3 barycentrics = float3(0.66,0.76,0.96); payload.color = float4(barycentrics, 1); } diff --git a/images/cuda.png b/images/cuda.png new file mode 100644 index 0000000..45622cf Binary files /dev/null and b/images/cuda.png differ diff --git a/images/dxr_support.png b/images/dxr_support.png new file mode 100644 index 0000000..3dd8905 Binary files /dev/null and b/images/dxr_support.png differ diff --git a/images/nsight_debug.png b/images/nsight_debug.png new file mode 100644 index 0000000..81c0aac Binary files /dev/null and b/images/nsight_debug.png differ diff --git a/images/nsys_report.png b/images/nsys_report.png new file mode 100644 index 0000000..cfb8222 Binary files /dev/null and b/images/nsys_report.png differ diff --git a/images/webgl_support.png b/images/webgl_support.png new file mode 100644 index 0000000..4ad644c Binary files /dev/null and b/images/webgl_support.png differ