DOC PREVIEW
GT ECE 4893 - LECTURE NOTES
School name Georgia Tech
Pages 19

This preview shows page 1-2-3-4-5-6 out of 19 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Lecture 24: Hello Cell Prof. Aaron Lanterman School of Electrical and Computer Engineering Georgia Institute of Technology2 Cell Programming link on sti.cc.gatech.edu Image contains VI, Kate, Kedit, eclipse, but no emacs???Running the VMWare workshop image 3 You can get the full version of VMWare (for Mac as well) from OITStarting the simulator GUI 4Set everything to Fast 5Starting the simulator 6Running Simple Hello Worlds 7Running Synergistic Hello Worlds 89 Fill out this today! Read this!!!!CellBuzz Cluster link on sti.cc.gatech.edu!Using CellBuzz • ssh to cell-user.cc.gt.atl.ga.us • Use passwd to change your password • cell-user is not a Cell machine; do not try to run your Cell programs on it! • Request interactive session: qsub –I!• Can sftp your executables to CellBuzz from the Fedora Core image!• See CellBuzz users guide about submitting batch jobs!10hello_ppu 11 Makefile hello_ppu.chello_spu 12 Makefile hello_spu.chello_be1 – sync version 13Synergistic PPE and SPE • Applications use software constructs called SPE contexts to manage and control SPEs • Linux schedules SPE contexts from all running applications onto the physical SPE resources in the system for execution according to the scheduling priorities and policies associated with the runable SPE contexts • libspe provides the means for communication and data transfer between PPE threads and SPEs 14 Slide from IBM Presentation, “Hands-on – The Hello World! Program”How does a PPE program start an SPE thread? 4 basic steps must be done by the PPE program: • Create an SPE context • Load an SPE executable object into the SPE context local store • Run the SPE context – This transfers control to the operating system, which requests the actual scheduling of the context onto a physical SPE in the system. • Destroy the SPE context. 15 Slide from IBM Presentation, “Hands-on – The Hello World! Program”hello_be1 – sync version – spu code 16 Makefile hello_spu.c (for the hello_be1 example)hello_be1 – sync version – ppu code (1) 17 hello_be1.c Makefilehello_be1 – sync version – ppu code (2) 18hello_be1 – sync version – ppu code (3)


View Full Document

GT ECE 4893 - LECTURE NOTES

Documents in this Course
Load more
Download LECTURE NOTES
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view LECTURE NOTES and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view LECTURE NOTES 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?