File Exchange

image thumbnail

Accelerating Heat Equation on the GPU

version 1.0.0.1 (17.2 KB) by Simone Hämmerle
A GUI for comparing the performance of different implementations of the heat equation on CPU and GPU

6 Downloads

Updated 01 Sep 2016

View Version History

View License

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 Hämmerle (2021). Accelerating Heat Equation on the GPU (https://www.mathworks.com/matlabcentral/fileexchange/41188-accelerating-heat-equation-on-the-gpu), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Joachim Ochs

I have the following error:
Struct contents reference from a non-struct array object.

Error in heateqGUI>pbStartStop_Callback (line 112)
set(handles.pbStartStop, 'String', 'Stop');

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in heateqGUI (line 44)
gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)heateqGUI('pbStartStop_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.

Atul soti

Can you please cite some source where I can read about the filter method for solving the heat equation.

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!