Presentation is loading. Please wait.

Presentation is loading. Please wait.

GPGPU Tools and Source Code Mark HarrisNVIDIA Developer Technology.

Similar presentations


Presentation on theme: "GPGPU Tools and Source Code Mark HarrisNVIDIA Developer Technology."— Presentation transcript:

1 GPGPU Tools and Source Code Mark HarrisNVIDIA 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.comhttp://www.shadertech.com Cg: C for Graphics –http://www.nvidia.com/cghttp://www.nvidia.com/cg HLSL: The D3D Shading Language –http://msdn.microsoft.com/library/default.asp?url=/library/en- us/directx9_c/directx/graphics/reference/highlevellanguageshaders.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en- us/directx9_c/directx/graphics/reference/highlevellanguageshaders.asp The OpenGL Shading Language –http://www.3dlabs.com/support/developer/ogl2/whitepapers/http://www.3dlabs.com/support/developer/ogl2/whitepapers/

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.htmlhttp://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/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/shadesmithhttp://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.nethttp://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.orgwww.GPGPU.org Discussion: www.GPGPU.org/forumswww.GPGPU.org/forums Developer resources, sample code, tutorials: www.GPGPU.org/developer www.GPGPU.org/developer And for open source GPGPU software: http://gpgpu.sourceforge.net/ http://gpgpu.sourceforge.net/


Download ppt "GPGPU Tools and Source Code Mark HarrisNVIDIA Developer Technology."

Similar presentations


Ads by Google