diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36fbbb1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/build +/.vs \ No newline at end of file diff --git a/README.md b/README.md index dd258af..883ab97 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,28 @@ 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) +* Beini Gu + * [LinkedIn](https://www.linkedin.com/in/rgu/), [personal website](https://www.seas.upenn.edu/~gubeini/), [twitter](https://twitter.com/scoutydren), etc. +* Tested on: Windows 10, AMD Ryzen 7 3700X 8-Core Processor 3.59 GHz 16GB, GTX 2060 -### (TODO: Your README) +### CUDA test -Include screenshots, analysis, etc. (Remember, this is public, so don't put -anything here that you don't want to share with the world.) +* Compute compatibility: 7.5 +![capture](images/capture.png) + +### WebGL test + +![webglcheck](images/webglcheck.png) + +### NSight Profile + +![nsight_profile](images/nsight_profile.png) + +### Debugger test + +![drx](images/debugger.png) + +### DRX test + +![drx](images/drx.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..097f523 100644 --- a/cuda-getting-started/src/main.cpp +++ b/cuda-getting-started/src/main.cpp @@ -10,8 +10,7 @@ * C main function. */ int main(int argc, char* argv[]) { - // TODO: Change this line to use your name! - m_yourName = "TODO: YOUR NAME HERE"; + m_yourName = "Beini Gu"; if (init(argc, argv)) { mainLoop(); diff --git a/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl b/dxr-support/src/D3D12RaytracingHelloWorld/Raytracing.hlsl index d817ca4..2c80551 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.8, 0, 0); payload.color = float4(barycentrics, 1); } diff --git a/images/capture.png b/images/capture.png new file mode 100644 index 0000000..945ace6 Binary files /dev/null and b/images/capture.png differ diff --git a/images/debugger.png b/images/debugger.png new file mode 100644 index 0000000..d06e4be Binary files /dev/null and b/images/debugger.png differ diff --git a/images/drx.png b/images/drx.png new file mode 100644 index 0000000..28f6685 Binary files /dev/null and b/images/drx.png differ diff --git a/images/nsight_profile.png b/images/nsight_profile.png new file mode 100644 index 0000000..abe5bec Binary files /dev/null and b/images/nsight_profile.png differ diff --git a/images/webglcheck.png b/images/webglcheck.png new file mode 100644 index 0000000..48d9013 Binary files /dev/null and b/images/webglcheck.png differ