diff --git a/README.md b/README.md index dd258af..42cc9e8 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,39 @@ 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) +* Yu-Chia Shen + * [LinkedIn](https://www.linkedin.com/in/ycshen0831/) +* Tested on: Windows 10, i5-11400F @ 4.3GHz 16GB, GTX 3060 12GB (personal) -### (TODO: Your README) +#### CUDA Compatiblity +* GeForce RTX 3060 +* GPU Compute Capability 8.6 -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +### Part 1: CUDA +* Modify the CUDA Project + * Change Name +![](./images/name.png) + +* Nsight Systems Analysis + * Timeline Report + +![](./images/Timeline.png) + +* Nsight Debugging + * Autos & Warp Info + * Index: 1206 + * Block ID: (x = 25, y = 0, z = 0) + * Thread ID: (x = 6, y = 1, z = 0) + +![](./images/Autos.png) + +### Part 2: WebGL +* WebGL Compatibility + +![](./images/WebGL.png) + +### Part 3: DXR Compatibility +* Modified Trangle (DXR Support) + +![](./images/DXR.png) \ No newline at end of file diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..629e6ac 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 = "Yu-Chia Shen"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..1c8249d 100644 --- a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl +++ b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl @@ -69,7 +69,8 @@ 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(1 - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y); + float3 barycentrics = float3(0.6, 0.1, 0.2); payload.color = float4(barycentrics, 1); } diff --git a/images/Autos.png b/images/Autos.png new file mode 100644 index 0000000..b63e4cc Binary files /dev/null and b/images/Autos.png differ diff --git a/images/DXR.png b/images/DXR.png new file mode 100644 index 0000000..4ac6a1c Binary files /dev/null and b/images/DXR.png differ diff --git a/images/Timeline.png b/images/Timeline.png new file mode 100644 index 0000000..ba415be Binary files /dev/null and b/images/Timeline.png differ diff --git a/images/WebGL.png b/images/WebGL.png new file mode 100644 index 0000000..6312293 Binary files /dev/null and b/images/WebGL.png differ diff --git a/images/name.png b/images/name.png new file mode 100644 index 0000000..23f6f97 Binary files /dev/null and b/images/name.png differ