Code Monkey home page Code Monkey logo

gpu_programming's Introduction

GPU_Programming


일반적으로 3D 그래픽에서 연산의 효율을 위해 (X,Y,Z,W) (R,G,B,a) 등의 형식으로 4개의 요소를 1개로 묶어 다룹니다.


SIMD(Single Instruction, Multiple Data)

Intel SSE(Streaming SIMD Extensions), AVX(Advanced Vector Extensions)


요즘은 데이터의 크기가 다양해서 SIMD 방법은 경우에 따라 실효 성능이 저하됩니다.


SIMT(Single Instruction, Multiple Threading)

SIMD 실행에서는 각각의 명령으로 하나의 정점(X,Y,Z,W)을 하나로 묶어 처리하는데 4사이클이 소모되었습니다.
반면, SIMT 실행에서는 X,Y,Z,W 각 요소를 순서대로 처리 하므로 하나의 정점에 16사이클이 소모됩니다.
그러나 SIMT 방식은 이 때, 4개의 연산기가 각 다른 정점의 요소를 하나씩 처리하므로,
SIMD방식과 SIMT 모두 4개의 정점에 16사이클을 소모하는 것은 같습니다.

gpu_programming's People

Contributors

hwk06023 avatar

Watchers

 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.