diff --git a/README.md b/README.md index dd258af..8a9599a 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,31 @@ 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) +* Shenyue Chen + * [LinkedIn](https://www.linkedin.com/in/shenyue-chen-5b2728119/), [personal website](http://github.com/EvsChen) +* Tested on: Windows 10, Intel Xeon Platinum 8259CL @ 2.50GHz 16GB, Tesla T4 (AWS g4dn-xlarge) -### (TODO: Your README) +### CUDA SM Result +

+ +

-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 Analyze Result +

+ +

+### CUDA Debug Result +

+ +

+ +### WebGL Result +

+ +

+ +### DXR Result +

+ +

diff --git a/cuda-getting-started/src/main.cpp b/cuda-getting-started/src/main.cpp index 886fd4c..c2e1c5a 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 = "Shenyue Chen"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..dcc24a5 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, 0.8, 0); payload.color = float4(barycentrics, 1); } diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/packages.config b/dxr-support/src/D3D12RaytracingHelloWorld/packages.config new file mode 100644 index 0000000..19367ad --- /dev/null +++ b/dxr-support/src/D3D12RaytracingHelloWorld/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/images/cuda-debug.png b/images/cuda-debug.png new file mode 100644 index 0000000..943be5a Binary files /dev/null and b/images/cuda-debug.png differ diff --git a/images/cuda-screen-shot.png b/images/cuda-screen-shot.png new file mode 100644 index 0000000..1195ca9 Binary files /dev/null and b/images/cuda-screen-shot.png differ diff --git a/images/dxr.PNG b/images/dxr.PNG new file mode 100644 index 0000000..9497049 Binary files /dev/null and b/images/dxr.PNG differ diff --git a/images/nsight-debug.PNG b/images/nsight-debug.PNG new file mode 100644 index 0000000..535df21 Binary files /dev/null and b/images/nsight-debug.PNG differ diff --git a/images/nsight-timeline.PNG b/images/nsight-timeline.PNG new file mode 100644 index 0000000..351e66b Binary files /dev/null and b/images/nsight-timeline.PNG differ diff --git a/images/webgl.png b/images/webgl.png new file mode 100644 index 0000000..6d2d542 Binary files /dev/null and b/images/webgl.png differ