Accelerating MATLAB with GPU Computing

Beyond simulation and algorithm development, many developers increasingly use MATLAB even for product deployment in computationally heavy fields. This often demands that MATLAB codes run faster by leveraging the distributed parallelism of Graphics Processing Units (GPUs). While MATLAB successfully provides high-level functions as a simulation tool for rapid prototyping, the underlying details and knowledge needed for utilizing GPUs make MATLAB users hesitate to step into it. Accelerating MATLAB with GPUs offers a primer on bridging this gap.

Starting with the basics, setting up MATLAB for CUDA (in Windows, Linux and Mac OS X) and profiling, it then guides users through advanced topics such as CUDA libraries. The authors share their experience developing algorithms using MATLAB, C++ and GPUs for huge datasets, modifying MATLAB codes to better utilize the computational power of GPUs, and integrating them into commercial software products.  Throughout the book, they demonstrate many example codes that can be used as templates of C-MEX and CUDA codes for readers’ projects.  Download example codes from the publisher’s website:

  • Shows how to accelerate MATLAB codes through the GPU for parallel processing, with minimal hardware knowledge
  • Explains the related background on hardware, architecture and programming for ease of use
  • Provides simple worked examples of MATLAB and CUDA C codes as well as templates that can be reused in real-world projects

Table of Contents
Chapter 1. Accelerating MATLAB without GPU
Chapter 2. Configurations for MATLAB and CUDA
Chapter 3. Optimization Planning through Profiling
Chapter 4. CUDA coding with C-MEX
Chapter 5. MATLAB with Parallel Computing Toolbox
Chapter 6. Using CUDA-Accelerated Libraries
Chapter 7. Example in Computer Graphics: 3D Surface Reconstruction using Marching Cubes
Chapter 8. Example in 3D Image Processing: Atlas-based Segmentation

Appendix 1. Download and install CUDA library
Appendix 2. Installing NVIDIA Nsight into Visual Studio

Book Details

  • Paperback: 258 pages
  • Publisher: Morgan Kaufmann (December 2013)
  • Language: English
  • ISBN-10: 0124080804
  • ISBN-13: 978-0124080805
Download [28.1 MiB]

You may also like...

No Responses

  1. kenshin says:

    Thanks a lot.

Leave a Reply