Accelerating MATLAB code using GPUs?

后端 未结 2 1014
天命终不由人
天命终不由人 2021-01-31 07:17

AccelerEyes announced in December 2012 that it works with Mathworks on the GPU code and has discontinued its product Jacket for MATLAB:

http://blog.accelereyes.com/blog/

2条回答
  •  北海茫月
    2021-01-31 08:02

    MATLAB does support CUDA based GPU. You have to access it from the "Parallel Computing Toolbox". Hope these 2 links also help:

    Parallel Computing Toolbox Features

    Key Features

    • Parallel for-loops (parfor) for running task-parallel algorithms on multiple processors
    • Support for CUDA-enabled NVIDIA GPUs
    • Full use of multicore processors on the desktop via workers that run locally
    • Computer cluster and grid support (with MATLAB Distributed Computing Server)
    • Interactive and batch execution of parallel applications
    • Distributed arrays and single program multiple data (spmd) construct for large dataset handling and data-parallel algorithms

    MATLAB GPU Computing Support for NVIDIA CUDA-Enabled GPUs

    Using MATLAB for GPU computing lets you accelerate your applications with GPUs more easily than by using C or Fortran. With the familiar MATLAB language you an take advantage of the CUDA GPU computing technology without having to learn the intricacies of GPU architectures or low-level GPU computing libraries.

    You can use GPUs with MATLAB through Parallel Computing Toolbox, which supports:

    • CUDA-enabled NVIDIA GPUs with compute capability 2.0 or higher. For releases 14a and earlier, compute capability 1.3 is sufficient.
    • GPU use directly from MATLAB
      • GPU-enabled MATLAB functions such as fft, filter, and several linear algebra operations
      • GPU-enabled functions in toolboxes: Image Processing Toolbox, Communications System Toolbox, Statistics and Machine Learning Toolbox, Neural Network Toolbox, Phased Array Systems Toolbox, and Signal Processing Toolbox (Learn more about GPU support for signal processing algorithms)
      • CUDA kernel integration in MATLAB applications, using only a single line of MATLAB code
    • Multiple GPUs on the desktop and computer clusters using MATLAB workers in Parallel Computing Toolbox and MATLAB Distributed Computing Server

提交回复
热议问题