data visualization on cell broadband engine
play

Data visualization on Cell Broadband Engine VUT FEL v Praze 36SPA - PowerPoint PPT Presentation

Intro GNU/Linux OpenGL SDL Data visualization on Cell Broadband Engine VUT FEL v Praze 36SPA 21. kvtna 2007 Martin BruXy Bruchanov brucham@fel.cvut.cz Data visualization on Cell Broadband Engine Intro GNU/Linux OpenGL SDL


  1. Intro GNU/Linux OpenGL SDL Data visualization on Cell Broadband Engine ČVUT FEL v Praze 36SPA 21. května 2007 Martin “BruXy” Bruchanov brucham@fel.cvut.cz Data visualization on Cell Broadband Engine

  2. Intro GNU/Linux OpenGL SDL Cell Broadband Engine Architecture Data visualization on Cell Broadband Engine

  3. Intro GNU/Linux OpenGL SDL Cell Broadband Engine Architecture • One general-purpose 64-bit processor, the Power Processing Element (PPE). • Eight simpler processors, the Synergistic Processing Elements (SPE). • A bus, the Element Interconnect Bus (EIB) that connects the PPE and SPEs. • PPE: PowerPC instruction set, 64 kB of L1 cache memory, 512 kB L2. • SPEs: 128-bit registers (128), SIMD instructions than can simultaneously process the four 32-bit words, 256 kB local store memory. Data visualization on Cell Broadband Engine

  4. Intro GNU/Linux OpenGL SDL GNU/Linux • An instalation of Linux to Playstation 3. • The Linux distribution Fedora Core release 6 (Zod). • Two Cell processors clocked 3192.0 MHz. • Networking, it is posible to redirect X Window GUI: ssh -X username @cortex2.felk.cvut.cz The option -X enables X Window forwarding. • Standard unix libraries used for GUI operation (OpenGL, SDL). Data visualization on Cell Broadband Engine

  5. Intro GNU/Linux OpenGL SDL OpenGL Utility Toolkit – GLUT • a library of utilities for OpenGL programs, which primarily perform system-level I/O with the host operating system. • Functions for window definition, window control, and monitoring of keyboard and mouse input. • Routines for drawing a number of geometric primitives • Include: GL/gl.h, GL/glu.h, GL/glut.h . • Compilation: gcc -lGL -lGLU -lglut -lm -o program source.c • Documentation: http://www.opengl.org/documentation/specs/glut Data visualization on Cell Broadband Engine

  6. Intro GNU/Linux OpenGL SDL Simple DirectMedia Layer http://www.libsdl.org/ Data visualization on Cell Broadband Engine

  7. Intro GNU/Linux OpenGL SDL Simple DirectMedia Layer • A cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. • SDL supports Linux, Windows, Windows CE, BeOS, MacOS, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. • SDL is distributed under GNU LGPL version 2. Data visualization on Cell Broadband Engine

  8. Intro GNU/Linux OpenGL SDL SDL PowerPC uses big endian byteorder! #if SDL_BYTEORDER == SDL_BIG_ENDIAN #define COLOR_BIT_MASK 0x000000ff, \ 0x0000ff00, \ 0x00ff0000, \ 0xff000000 #else #define COLOR_BIT_MASK 0xff000000, \ 0x00ff0000, \ 0x0000ff00, \ 0x000000ff #endif Data visualization on Cell Broadband Engine

Recommend


More recommend