Skip to content
29 changes: 23 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).'
2 changes: 1 addition & 1 deletion cuda-getting-started/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
Binary file added images/3.1.1.jpg
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/3.1.2.jpg
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/3.1.3.jpg
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/3.2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.