diff --git a/README.md b/README.md index dd258af..e2789b4 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) +* Vatsal Chanana + * [LinkedIn](https://www.linkedin.com/in/vatsal-chanana-27a137a1/), [personal website](www.seas.upenn.edu/~chanana), +* Tested on: Windows 10, Intel Xeon E-2176M @ 2.70GHz 16GB, Quadro P2000 4GB +* Compute Capability of CUDA-compatible GPU : 6.1 -### (TODO: Your README) +### Screenshots: -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +#### chrome://gpu - +![](images/chrome-gpu.PNG) + +#### DXR - + +![](images/dxr.PNG) + +#### CUDA Build Run - + +![](images/build-run.PNG) + +#### Nsight Timeline - + +![](images/nsight-timeline.PNG) + +#### Nsight Debugging - + +![](images/nsight-debugger.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..c353c44 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 = "Vatsal Chanana"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..1ef11ee 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.3, 0.5, 0.8); payload.color = float4(barycentrics, 1); } diff --git a/images/build-run.PNG b/images/build-run.PNG new file mode 100644 index 0000000..3bfd006 Binary files /dev/null and b/images/build-run.PNG differ diff --git a/images/chrome-gpu.PNG b/images/chrome-gpu.PNG new file mode 100644 index 0000000..012accf Binary files /dev/null and b/images/chrome-gpu.PNG differ diff --git a/images/dxr.PNG b/images/dxr.PNG new file mode 100644 index 0000000..ec766ca Binary files /dev/null and b/images/dxr.PNG differ diff --git a/images/nsight-debugger.PNG b/images/nsight-debugger.PNG new file mode 100644 index 0000000..6cf95a1 Binary files /dev/null and b/images/nsight-debugger.PNG differ diff --git a/images/nsight-timeline.PNG b/images/nsight-timeline.PNG new file mode 100644 index 0000000..b2f887f Binary files /dev/null and b/images/nsight-timeline.PNG differ