History• Ian Buck, Dir. of GPU Computing, received his PhD from Stanford for his research on GPPM in 2004• Started working for Nvidia to commercialize GPU computing• First start was in 2006, Nvidia released CUDA v 1.0 for G80• In spring 2008, CUDA 2.0 was released together with GT200
About• With CUDA, normal applications can be ported to GPU for higher performance• No low level or 3D programming knowledge required, CUDA works with C
CPU vs GPU• A CPU core can execute 4 32-bit instructions per clock, whilst a GPU can execute 3200 32-bit instructions per clock• A CPU is designed primarily to be an executive and make decisions• A GPU is different, it has a large number of ALU’s(Arithmetic/Logic Units), a lot more than a CPU.
Structure• In CUDA, you are required to specify the number of blocks and threads in each block.• One block can contain up to 512 threads.• Each thread on each block is executed separately.