GPGPU Tools and Source Code - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

GPGPU Tools and Source Code

Description:

... msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/direct x ... Developer resources, sample code, tutorials: www.GPGPU.org/developer ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 10
Provided by: markh223
Category:
Tags: gpgpu | asp | code | source | tools | tutorial

less

Transcript and Presenter's Notes

Title: GPGPU Tools and Source Code


1
GPGPU Tools and Source Code
  • Mark Harris NVIDIA Developer Technology

2
First Home Base
  • Check the GPGPU Course website for updates!
  • Course notes, errata and extras
  • http//www.GPGPU.org/s2004

3
High-Level Shading Languages
  • Useful New Site ShaderTech
  • http//www.shadertech.com
  • Cg C for Graphics
  • http//www.nvidia.com/cg
  • HLSL The D3D Shading Language
  • http//msdn.microsoft.com/library/default.asp?url
    /library/en-us/directx9_c/directx/graphics/referen
    ce/highlevellanguageshaders.asp
  • The OpenGL Shading Language
  • http//www.3dlabs.com/support/developer/ogl2/white
    papers/

4
GPGPU Languages
  • Sh
  • University of Waterloo
  • http//libsh.sourceforge.net
  • http//www.cgl.uwaterloo.ca
  • Brook
  • Stanford University
  • http//brook.sourceforge.net
  • http//graphics.stanford.edu

5
Shader Conversion
  • Babelshader
  • http//graphics.stanford.edu/danielrh/babelshader
    .html
  • Designed to convert between DirectX HLSL output,
    pixelshader 2.0 and OpenGL's low level shading
    languages
  • Allows OpenGL programs to use Microsoft's stand
    alone HLSL compiler, fxc.exe to compile programs
    into ARB or fp30 assembly.
  • Enables fair benchmarking competition between the
    HLSL compiler and the Cg compiler on the same
    platform with the same demo and driver.

6
Debugging Tools
  • imdebug The Image Debugger
  • http//www.cs.unc.edu/baxter/projects/imdebug/
  • A programmer's utility to make debugging of Win32
    applications that use images and grid data
    easier.

7
Debugging Tools
  • Shadesmith Shader Debugger
  • http//graphics.stanford.edu/projects/shadesmith
  • Debugger in the spirit of imdebug
  • Simply add a debug statement when binding shaders
  • Display window with scale, bias, component
    masking
  • Advanced features
  • Can watch any shader register contents without
    recompile
  • Shader single stepping (forward and backward),
    breakpointing
  • Shader source edit and reload without recompile

8
Utility Code
  • RenderTexture
  • Open Source http//gpgpu.sourceforge.net
  • Convenience class for OpenGL render to texture
  • Supports NVIDIA and ATI extensions
  • Float pbuffers and textures supported
  • Supports copy to texture (CTT) or render to
    texture (RTT)
  • CTT only under Linux (no RTT extension yet)
  • Supports render-to-depth-texture RTDT
  • Supports pbuffers with multiple color buffers

9
GPGPU.org
  • Your first stop for GPGPU information!
  • News www.GPGPU.org
  • Discussion www.GPGPU.org/forums
  • Developer resources, sample code,
    tutorialswww.GPGPU.org/developer
  • And for open source GPGPU softwarehttp//gpgpu.s
    ourceforge.net/
Write a Comment
User Comments (0)
About PowerShow.com