GPU Coder Interface for Deep Learning
Use GPU Coder to generate optimized CUDA code for deep learning networks
Deep Learning Toolbox, use this support package.GPU Coder generates optimized CUDA code from MATLAB code and Simulink models for deep learning, embedded vision, and autonomous systems. You can deploy a
- 3.7K (All time)
- 105 (Last 30 days)
- 5.0 / 5
- MathWorks
-
11 Aug 2026
Compare GPUs using standard numerical benchmarks in MATLAB.
GPUBENCH times different MATLAB GPU tasks and estimates the peak performance of your GPU in floating-point operations per second (FLOP/s). It produces a detailed HTML report showing how your GPU
- 28.4K (All time)
- 33 (Last 30 days)
- 4.9 / 5
- Community
-
18 Mar 2025
Explore the Mandelbrot Set using MATLAB and a GPU.
This application allows you to explore the wonders of the Mandelbrot Set in MATLAB with the help of a capable GPU. It is primarily intended as a demonstration of the different ways in which a MATLAB
- 4.8K (All time)
- 2 (Last 30 days)
- 4.6 / 5
- Community
-
5 Jan 2021
Explore the Julia Set of the Mandelbrot Set using MATLAB and a capable GPU.
This application allows you to explore the Julia Set of the Mandelbrot Set in MATLAB with the help of a capable GPU. It is primarily intended as a demonstration of element-wise calculations using
- 2.8K (All time)
- 1 (Last 30 days)
- 4.5 / 5
- Community
-
23 Apr 2021
GPU sparse, accumarray, non-uniform grid
performance gains above 1000x over matlab spmv can be observed with cuda compatible GPU.
bare-bone interface with cusp sparse class for gpus, support for single precision, real/complex. Usage:A=gcsparse(B,[format: 0=coo, 1=csr]);or A=gcsparse(col,row,val,[nrows,[ncols,[format]]]);input B
- 1.1K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
4 Dec 2013
Color-balance demo with GPU computing
Use GPU in MATLAB to perform white-balance operation to input image.
This demo shows how to identify bottlenecks in code that is run on a CPU using the MATLAB Profiler. The computations forming the bottleneck in this example are then executed on the system's GPU
- 1.9K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
3D pseudo polar Fourier and Radon Transforms
Forward and inverse 3D pseudo polar Fourier transforms and Radon transforms
the PPFT/Radon transforms for GPU computation.4) Direct inversion - Fast direct inversion for the PPFT/Radon transforms, running time is independent on the input data, no convergence criterion is
- 709 (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
10 Oct 2017
Accelerating Heat Equation on the GPU
A GUI for comparing the performance of different implementations of the heat equation on CPU and GPU
HEATEQGUI is an interactive GUI that lets you compare different ways for solving the heat equation. Only minor code changes were necessary to run the code on the GPU instead of the CPU. *
- 1.1K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms
NVIDIA hardware target support from MATLAB Coder and GPU Coder
the generated code on the target hardware board. It enables you to remotely communicate with the NVIDIA target and control the peripheral devices for prototyping and testing purposes.When used with GPU
- 4.8K (All time)
- 132 (Last 30 days)
- 4.9 / 5
- MathWorks
-
11 Aug 2026
GPU Implementation for GVF Force Field
We implement the GVF force field on GeForce GPU using CUDA.
time, in this project we implement the GVF algorithm with GPU, which will accelerate the algorithm to a great extent.
- 1.2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
22 Oct 2012
Tutorials: Parallel and GPU Computing with MATLAB: All in one (9 parts)
Tutorials on Parallel and GPU Computing with MATLAB
This submission contains all code examples used in tutorial series for Parallel and GPU Computing with MATLAB available here: http://www.mathworks.com/products/parallel-computing/tutorials.htmlTopics
- 3.3K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
Huygens-Fresnel integral approximation on the GPU
Simulate electromagnetic wave propagation through free-form apertures, or off rough surfaces. Speed up the computation by using the GPU.
Huygens-Fresnel integral.Toolbox features are:* GPGPU computing, using Nvidia graphics cards with CUDA* fallback to CPU if no GPU is found* rough surface generation via spatial frequency filters and surface
- 1.9K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
23 Oct 2020
Fast 3D Non Local Means Filtering using Convolutions CPU/GPU
Domain Decomposed CPU/GPU implementation of Non Local Means Filtering in 3D using Convolution
serialGPUNLMF(domain,locSize,DoS,k,npasses,gpuFlag)nlmf: the output domaindomain: the input 3D arraylocSize: the subdomain size in X,Y,Z. e.g. locsize=256 will partition the domain into subvolumes of 256^DoS: the degree of smoothing (commonly 0.05 to
- 84 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
16 Nov 2021
Weeks' Method for Numerical Laplace transform inversion with GPU acceleration
Implementation of the Weeks method for numerical Laplace transform inversion with GPU acceleration.
Weeks method. Particularly new here is the use of graphics processing unit [GPU] computing to accelerate the method.To assist the user, a wrapper (WeeksMethod.m) to the core inversion functions is
- 1.4K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
18 Dec 2011
Spectral Visual Saliency Toolbox
Implementations of several state-of-the-art visual saliency detection algorithms.
- 6.4K (All time)
- 7 (Last 30 days)
- 5.0 / 5
- Community
-
6 Jan 2014
Real-Time Object Detection with YOLO v2 Using GPU Coder
Example of real-time object detection using YOLO v2 on NVIDIA GPUs
You can use GPU Coder™ in tandem with the Deep Learning Toolbox™ to generate code and deploy deep learning networks on embedded platforms that use NVIDIA® Jetson and Drive platforms. The pretrained
- 1.1K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
7 May 2019
GPU Centerline Extraction (Skeletonization) in 2D or 3D
Extracts the centerlines (skeleton) of binary 2D images or 3D volumes using bit encoded thinning on the GPU.
This code provides implementation of the real-time thinning / centerline extraction techniquesproposed in "Real-time thinning algorithms for 2D and 3D images using GPU processors" (Wagner, 2019
- 826 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
14 Aug 2020
TIGRE: Tomographic Iterative GPU-based Reconstruction Toolbox
3D tomographic reconstruction software
TIGRE: Tomographic Iterative GPU-based Reconstruction ToolboxTIGRE is a GPU accelerated software for big scale 3D tomographic reconstruction, being capable of reconstructing geometries such as Cone
- 3.6K (All time)
- 6 (Last 30 days)
- 4.7 / 5
- Community
-
13 Aug 2024
GPU Accelerated Edge-Region Based Level Set Evolution Constrained by 2D Gray-Scale Histogram
Here are the serial and the GPU based implementation of our paper IEEE TIP.2013.2255304
our work. The serial implementation can be runned even if you don't have an NVIDIA GPU. But this is not the case of the parallel implementation. Everything is done as simple as possible in order to make
- 1.3K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
12 Dec 2013
Quantized Deep Neural Network on Jetson AGX Xavier
How to create, train and quantize network, then generate CUDA C++ code for targeting Jetson AGX Xavier
data types. And then you can use GPU Coder to generate optimized CUDA code for the quantized network.This example shows how to create, train and quantize a simple convolutional neural network for defect
- 268 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
10 Jul 2020
- 3.7K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
28 Sep 2010
GPU vs CPU speed test of finite difference equation
Compares the speed of the parallel computing toolbox functions vs CPU for finite difference
Simulates the heat equation, with constant heat capacity and thermal conductivity, using GPU (parallel computing toolbox) or CPU (matrix calculations). Includes results from Nvidia titan and i5-2500k
- 1.2K (All time)
- 1 (Last 30 days)
- 4.5 / 5
- Community
-
10 Jul 2014
Fast Checkerboard Demodulation for digital Schlieren imaging
Track optical distortions in a checkerboard pattern with high accuracy in real-time using the FCD method
FFT- Includes a live preview function- Runs on GPU without modificationsMore info: https://arxiv.org/abs/1712.05679
- 386 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
9 Dec 2018
Hardware accelerated ray-triangle intersection
GPU portable implementation of the ray-triangle intersection method of Moller and Trumbore (1997)
% Ray-triangle intersection algorithm of Muller and Trumbore (1997)% formatted for arrayfun to allow hardware acceleration% Call with gpuarray and arrayfun to execute on the GPU: thjs% may give two
- 865 (All time)
- 2 (Last 30 days)
- 4.8 / 5
- Community
-
13 Feb 2015
Tutorials: Parallel and GPU Computing with MATLAB (9 of 9): GPU Computing with MATLAB
Tutorial on Parallel and GPU Computing with MATLAB (9 of 9)
This submission contains code examples used in part 9 of tutorial series on Parallel and GPU Computing with MATLAB. This part covers using GPU-enabled MATLAB functions, executing NVIDIA® CUDA™ code
- 1.7K (All time)
- 1 (Last 30 days)
- 3.0 / 5
- Community
-
1 Sep 2016
- 4K (All time)
- 1 (Last 30 days)
- 4.2 / 5
- Community
-
16 Jul 2008
implementation of SIFT compiled on graphics card
- 11.7K (All time)
- 1 (Last 30 days)
- 3.9 / 5
- Community
-
28 Jan 2008
matlab wrapper for CUDA 2D and 3D GPU-accelerated convolution
C++/CUDA GPU-accelerated convolution in 2D and 3D. Based on NVIDIA cuda-samples convolutionFFT2D combined with matlab
- 64 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
21 Jun 2023
WarpFactory is a numerical toolkit for analyzing warp drive spacetimes.
Energy ConditionsMetric scalar evaluation for the shear, expansion, and vorticityMomentum flow visualizationsGPU utilization for accelerated computationsAnimation of the stress-energy tensor. Lighter
- 64 (All time)
- 7 (Last 30 days)
- 5.0 / 5
- Community
-
23 May 2024
inpolygon function that works using gpuArray
This is a point-in-polygon function that can run on a gpu using large test point array sizes. It uses a simple ray-casting algorithm without pre-processing or "on" tolerance checks. Therefore it may
- 318 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
31 Jan 2015
Interactive Incompressible Fluids
A GPU-enabled interactive demo of Navier-Stokes equations for incompressible fluids.
- 3.3K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
3D Linear Interpolation for GPU
3D Linear Interpolation for GPU
This function is faster than MATLAB's griddedInterpolant function for the CPU, but slower than MATLAB's interpn function for the GPU. However, I've coded this using arrayfun. Since MATLAB does not
- 401 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
5 Aug 2014
MATLABによる画像処理・コンピュータービジョン・点群処理評価キット
MATLAB image processing, computer vision, and point cloud processing evaluation kit in Japanese
Driving ToolboxRoadRunnerSensor Fusion and Tracking ToolboxNavigation ToolboxRobotics System ToolboxUAV ToolboxROS ToolboxMATLAB CoderSimulink CoderGPU Coder
- 1.8K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
7 Apr 2022
- 80 (All time)
- 1 (Last 30 days)
- 4.7 / 5
- Community
-
4 Sep 2020
Efficient three-dimensional (3D) Gaussian smoothing using convolution via frequency domain
Native Fourier implementation, support GPU computation and anisotropic voxel.
(z*pixelspacing(3)).^2/sigma(3)^2/2)); Remarks The outputs of gauss3filter(I), gauss3filter(I, 1) and gauss3filter(I, 1, [1 1 1]) are identical. To enable GPU computation (Matlab 2012a or later, CUDA 1.3 GPU are required), use
- 1.2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
16 Nov 2012
View and investigate various fractals using MATLAB and an NVIDIA GPU
This application allows you to explore several different fractals in MATLAB with the help of a capable NVIDIA GPU. It was inspired by Cleve Moler's article GPU Enables Obsession with Fractals, where
- 188 (All time)
- 3 (Last 30 days)
- -- / 5
- Community
-
23 Apr 2021
This is the code used during the MATLAB for CUDA Programmers webinar
Runnable demos showcasing the GPU computing capabilities of Parallel Computing Toolbox. Comes with a reference implementation in non-GPU MATLAB used to verify the correctness of the GPU
- 1.8K (All time)
- 4 (Last 30 days)
- 4.0 / 5
- Community
-
1 Sep 2016
Apple Metal GPU processing toolbox for MATLAB on macOS
MATLABMetalApple Metal GPU processing toolbox for MATLAB on macOS.Matlab runs extremely well on the new Apple Silicon Macs, but if you want the best possible performance from these new processors
- 272 (All time)
- 6 (Last 30 days)
- 4.5 / 5
- Community
-
22 Mar 2024
Simple example showing how to access the GPU from MATLAB
This is a simple example showing how to access the GPU from MATLAB. This example requires a Freeware library called GPUmat, that can be downloaded from http://gp-you.orgThe example shows the
- 1.8K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
7 May 2009
White balance camera-rendered sRGB images (CVPR 2019)
chart for Set1 images.Graphical user interfaceWe provide a Matlab GUI to help tuning our parameters in an interactive way. Please, check demo_GPU.m. Code/GUI parameters and optionsK: Number of nearest
- 527 (All time)
- 4 (Last 30 days)
- 3.7 / 5
- Community
-
25 Feb 2023
Fast Continuous Max-Flow Algorithm to 2D/3D Image Segmentation
Fast continuous max-flow algorithm to 2D/3D image segmentation developed in matlab, C and GPU
This software implements the fast continuous max-flow algorithm to 2D/3D image segmentation. It provides three implementations: matlab, C and GPU (cuda based). All the source files are provided. So
- 5.4K (All time)
- 2 (Last 30 days)
- 4.9 / 5
- Community
-
16 Dec 2011
Example, Matlab R2010B Cuda CONV2 on GPU using Cuda kernels
GPUCONV2 Two dimensional convolution on the GPU using Cuda. C = GPUCONV2(A, B) performs the 2-D convolution of matrices A and B. If [ma,na] = size(A), [mb,nb] = size(B), and [mc,nc] = size(C
- 1.6K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
8 Dec 2010
Assign GPU tokens to workers in spmd
This piece of code tries to give a frame work to allowing the number of workers who can use the GPU synchronously.
This piece of code tries to give a frame work to allowing the number of workers who can use the GPU synchronously, since oftentimes the use of gpu in all workers may lead to outage of gpu memory
- 1 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
24 Mar 2023
GPU-accelerated 3D Stationary Wavelet-based Frame
3D Stationary wavelet-based transform using GPU-accelerated separable convolution
This implements a GPU-accelerated version of the 3D frame used in "Alp Kucukelbir, Fred J. Sigworth, Hemant D. Tagare, A Bayesian adaptive basis algorithm for single particle reconstruction, Journal
- 625 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
26 Jun 2012
gpuSiftMatch(d1,d2,thresh,bunchSize,gpuEn,precision)
Fast SIFT feature matching using GPU
This feature matching code is designed to replace the ubc_match function from vl_feat (http://www.vlfeat.org/overview/sift.html) This code is significantly faster when run on a compatible GPU.
- 105 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
14 Jul 2017
Frequency-Dependent F-Number for CPWC
Frequency-dependent F-number for coherent plane-wave compounding (CPWC) in ultrasound imaging
(e.g., off, on, window-based) ├── +platforms # classes for various types of platforms (e.g., CPU, GPU) ├── +windows # classes for various window functions (e.g., boxcar, Hann, Tukey
- 39 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
28 Aug 2023
Fast Eigenvalue Computation of Massive 3-by-3 Real Symmetric Matrices
For multiple 3x3 real symmetric matrices, vectorized matrix operations, support GPU computation
Calculate the eigenvalues of many 3x3 real symmetric matrices. Computation is non-iterative, based on fully vectorized matlab matrix operations, and GPU computation is supported. It is fast and
- 1.2K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
10 May 2013
Expectation Maximization of Gaussian Mixture Models via CUDA
CUDA enabled parallel EM for Gaussian Mixture Models, providing over 100x performance increases.
- 3.8K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
21 May 2009
Tutorial: Parallel and GPU Computing with MATLAB (8 of 9): Distributed Arrays
Tutorial on Parallel and GPU Computing with MATLAB (8 of 9)
This submission contains code examples used in part 8 of the tutorial series on Parallel and GPU Computing with MATLAB. In this part you learn about performing matrix math on very large matrices
- 682 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
1 Sep 2016
Tutorial: Parallel and GPU Computing with MATLAB (5 of 9): Batch Processing
Tutorial on Parallel and GPU Computing with MATLAB (5 of 9)
This submission contains code examples used in part 5 of the tutorial series on Parallel and GPU Computing with MATLAB. This part covers offloading serial and parallel programs using batch command
- 1K (All time)
- 1 (Last 30 days)
- 3.0 / 5
- Community
-
1 Sep 2016
Tutorials: Parallel and GPU Computing with MATLAB (3 of 9): Quick Success with parfor
Tutorial on Parallel and GPU Computing with MATLAB (3 of 9)
This submission contains code examples and presentation used in part 3 of the tutorial series on Parallel and GPU Computing with MATLAB. This part walks through an introductory example that uses
- 1K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
1 Sep 2016
FDTD - 1D, 2D, 3D Simple Free Space Examples
Vectorized FDTD code with GPU functionality for the 3D case. Code is nicely organized and easy to understand.
A point source located at the center of the simulation domain generates electromagnetic radiation which then propagates through vacuum.Using a GPU for the 3D case, one can realize the performance
- 2.5K (All time)
- 12 (Last 30 days)
- 5.0 / 5
- Community
-
23 Oct 2021
Tutorials: Parallel and GPU Computing with MATLAB (4 of 9): Deeper Insights into Using parfor
Tutorial on Parallel and GPU Computing with MATLAB (4 of 9)
This submission contains code examples and presentation used in part 4 of the tutorial series on Parallel and GPU Computing with MATLAB. This part provides deeper insights into using parfor
- 707 (All time)
- 2 (Last 30 days)
- 3.0 / 5
- Community
-
1 Sep 2016
Tutorial: Parallel and GPU Computing with MATLAB (6 of 9): Scaling to Clusters and Cloud
Tutorial on Parallel and GPU Computing with MATLAB (6 of 9)
This submission contains code examples used in part 6 of the tutorial series on Parallel and GPU Computing with MATLAB. This part covers considerations for using a cluster, creating cluster profiles
- 691 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
1 Sep 2016
Tutorial: Parallel and GPU Computing with MATLAB (7 of 9): spmd: Parallel Code beyond parfor
Tutorial on Parallel and GPU Computing with MATLAB (7 of 9)
This submission contains code examples used in part 7 of the tutorial series on Parallel and GPU Computing with MATLAB. This part covers the following topics: executing code simultaneously on workers
- 930 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
1 Sep 2016
Cell resolved Matlab OOP model of a lithium iron phosphate battery pack
Collection of classes stored in a package "lfpBattery".
- 531 (All time)
- 3 (Last 30 days)
- -- / 5
- Community
-
15 Oct 2022
Computational Ultrasound Imaging Toolbox
Develop and evaluate computational image formation methods for freely programmable ultrasound imaging systems with only a few lines of code.
implementations usinghierarchical matrix factorizationsGPU support via mex / CUDA APICurrent LimitationsBorn approximationlinear systems (wave propagation, scattering, transducer behavior)pulse-echo mode (i.e., no
- 161 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
24 Feb 2023
2D CUDA-based bilinear interpolation
GPU assisted fast bilinear interpolation
a prompt and an executable (mex/mexmac/mexmaci/dll?) file will be created.This code uses your GPU's built-in bilinear texture interpolation capability, and is very fast. For reasonably sized
- 3.6K (All time)
- 1 (Last 30 days)
- 3.0 / 5
- Community
-
16 Jul 2008
Speeding Up Algorithms: When Parallel Computing and GPUs do and don't accelerate
Files and slides from the presentation of the same name.
This archive contains all of the files for the webinar "Speeding Up Algorithms: When Parallel Computing and GPUs do and don't accelerate" delivered at the 2013 MathWorks Finance Virtual Conference.It
- 795 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
25 Sep 2013
Hydra Image Processor handles large 1D to 5D image data by optimally chunking across GPUs, ensuring energy-insulated boundaries.
!## InstallationHydra is distributed through [conda-forge](https://conda-forge.org/) and requires anNVIDIA CUDA-capable GPU with an up-to-date driver. Install it with conda, mamba, or pixi:```bash# conda / mambaconda
- 25 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
9 Jul 2026