diff --git a/README.md b/README.md index dd258af..05279c7 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,29 @@ 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) +* Yilin Li +* Tested on: Windows 10, i7-12700H @ 2.30GHz 16GB, NVIDIA RTX 3060 (personal laptop) -### (TODO: Your README) +## Project Write-up -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 3.1: CUDA +The Compute Capability of NVIDIA T1000 is 8.6. + +### Part 3.1.1 +![](images/3.1.1.jpg) + + +### Part 3.1.2 +![](images/3.1.2.jpg) + +### Part 3.1.3 +![](images/3.1.3.jpg) + +### Part 3.2 +![](images/3.2.jpg) + +### Part 3.3 +The laptop has DXR support but the following error pops out after the expected image appears for half a second. + +> 'Unhandled exception at 0x00007FFA3467474C (KernelBase.dll) in D3D12RaytracingHelloWorld.exe: 0x0000087A (parameters: 0x0000000000000001, 0x0000005DBE6FC280, 0x0000005DBE6FE060).' diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..b22b0c2 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 = "Yilin Li"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..c3a44c9 100644 --- a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl +++ b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl @@ -70,6 +70,7 @@ void MyRaygenShader() void MyClosestHitShader(inout RayPayload payload, in MyAttributes attr) { float3 barycentrics = float3(1 - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y); + barycentrics = float3(0, 0.8, 1); payload.color = float4(barycentrics, 1); } diff --git a/images/3.1.1.jpg b/images/3.1.1.jpg new file mode 100644 index 0000000..69e983a Binary files /dev/null and b/images/3.1.1.jpg differ diff --git a/images/3.1.2.jpg b/images/3.1.2.jpg new file mode 100644 index 0000000..10faefa Binary files /dev/null and b/images/3.1.2.jpg differ diff --git a/images/3.1.3.jpg b/images/3.1.3.jpg new file mode 100644 index 0000000..088200e Binary files /dev/null and b/images/3.1.3.jpg differ diff --git a/images/3.2.jpg b/images/3.2.jpg new file mode 100644 index 0000000..e489cd0 Binary files /dev/null and b/images/3.2.jpg differ