Accelerating Heat Equation on the GPU

A GUI for comparing the performance of different implementations of the heat equation on CPU and GPU

You are now following this Submission

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.
* heateq_cpu_ind: "direct" on CPU
* heateq_gpu_ind: "direct" on GPU
* heateq_cpu_filt: using FILTER2 on CPU
* heateq_gpu_filt: using FILTER2 on GPU
Comparing CPU and GPU versions shows nice speedup by using the GPU. The obtained speedup strongly depends on the hardware setup and GUI settings.

Cite As

Simone (2026). Accelerating Heat Equation on the GPU (https://se.mathworks.com/matlabcentral/fileexchange/41188-accelerating-heat-equation-on-the-gpu), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0