Code Monkey home page Code Monkey logo

project0-getting-started's Introduction

Project 0 Getting Started

University of Pennsylvania, CIS 565: GPU Programming and Architecture, Project 0

  • Xuntong Liang
  • Tested on: Windows 10, i7-10750H @ 2.60GHz 16GB, RTX 2070 Super with Max-Q 8192MB

Part 3.1: CUDA

CUDA running result:

CUDA Test

Analysis:

CUDA Analysis

This needs us to go to Nsight -> Nsight Systems 2021.2.4 -> Trace.

Then in NVIDIA Nsight Systems 2021.2.4 , Select target for profiling -> Start. Make sure to fill in the correct Command line with arguments and Working directory in Target application, and check Collect CUDA trace and Collect OpenGL trace.

Debug with Nsight:

Debug with Nsight

The blockIdx is (12, 0, 0) and the threadIdx is (8, 1, 0). The thread counts from the Shader Info are discontinuous, and the threads between these thread indices are shown in Threads. We need to calculate that which is (8, 1, 0). Since the blockDim is (16, 16, 1), threads represented by (x, 1, 0) should be in the third or fourth group of threads. Then we can count x = 8, and find the corresponding thread, which is the first thread of the fourth group of threads.

Part 3.2: WebGL

Check WebGL support:

Check WebGL support

Part 3.3: DXR

DXR test, with color (0.2, 0.4, 0.8):

DXR Test

project0-getting-started's People

Contributors

shehzan10 avatar pacoslelouch avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.