Before explaining the implementa¬tion of CUDA, let's refresh what the difference between a CPU and a GPU is. CPUs are designed to carryon serial tasks whereas GPUs can process in parallel. CUDA is a software platform to use GP.Us for parallel high performance processing. Just look at the amazing video 0 ' 'Youtube; that compares the working of a CPU and a GPU by the popular serial on Discovery: Myth Busters' (in. youtube. com/watch ?v=OudMBdoO Ra c). CUDA is set of extensions to language that enables implementation of parallel algorithms; GPUs have hundreds of cores with shared resources, FPUs, and registers that can run threads in parallel. CUDA includes C/C++ software development tools, function libraries, and a hardware abstraction mechanism that hides the GPU hardware from developers. CUDA works along with conventional C/C++ compilers making it possible to mix GPU code with the general purpose CPU code.



Reply With Quote
Copyright Techfuels
Bookmarks