利用MATLAB中的GPU编程加速微磁模拟
Accelerate micromagnetic simulations with GPU programming in MATLAB
摘要:
给出了一个用MATLAB编写的具有图形处理单元(GPU)加速功能的微磁有限差分仿真程序。与典型的基于中央处理单元(CPU)的代码相比,图形处理单元(GPU)的高性能得到了证明。对于单精度的中端GPU上的较大尺寸问题,GPU与CPU的加速比大于30。代码少于200行,适合于新算法的开发。
英文摘要:
A finite-difference Micromagnetic simulation code written in MATLAB is presented with Graphics Processing Unit (GPU) acceleration. The high performance of Graphics Processing Unit (GPU) is demonstrated compared to a typical Central Processing Unit (CPU) based code. The speed-up of GPU to CPU is shown to be greater than 30 for problems with larger sizes on a mid-end GPU in single precision. The code is less than 200 lines and suitable for new algorithm developing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。