[分享] MATLAB plug-in for CUDA
下載頁面
http://developer.nvidia.com/object/matlab_cuda.html
MATLAB plug-in for CUDA
This MATLAB plug-in for CUDA provides: acceleration of standard MATLAB 2D
FFTs and CUDA/MEX example plug-in and build environment using Chris
Bretherton's Fourier spectral simulation of 2D fluid flow MATLAB scripts from
his course material at the University of Washington.
When MATLAB makes 2D FFT calls of any size, the NVIDIA plug-in intercepts
them and handles them with a MEX file that in-turn utilizes an optimized CUDA
FFT implementation on the GPU.
This is transparent to MATLAB users. Note: this current implementation uses a
single-precision 2-FFT on the NVIDIA hardware, so the results are not in
64-bit precision that the native MATLAB implementation uses without the
NVIDIA plug-in. Can be run with and without CUDA acceleration. Time to run
the example shows a 14X speedup (from 216 seconds to 15 seconds using CUDA
via the MEX file interface).
The MEX file example and build environment uses an FS_2Dflow example but the
method is illustrative on how to write a custom CUDA interface via a MATLAB
MEX file interface for all CUDA libraries .
--
江城子 - 觀金鎖記有感
姻緣密密萬家牽。寸金蓮。對紅鴛。花轎輕顛,行過陌阡田。瓜瓞綿延何處絕?
生註定,憶難眠。 韶光點點灑千年。只嬋娟。廣寒懸。薪火煙鬟,香魄
望青天。雖有黃金身上鎖!雙囍結,更堪憐。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.114.82.14
推
11/24 20:28, , 1F
11/24 20:28, 1F
推
11/24 20:53, , 2F
11/24 20:53, 2F
→
11/24 21:13, , 3F
11/24 21:13, 3F
推
11/24 21:21, , 4F
11/24 21:21, 4F
→
11/24 21:23, , 5F
11/24 21:23, 5F
→
11/24 21:33, , 6F
11/24 21:33, 6F
推
11/24 23:05, , 7F
11/24 23:05, 7F
推
11/25 02:14, , 8F
11/25 02:14, 8F
※ sunev:轉錄至看板 MATLAB 11/27 23:52
VideoCard 近期熱門文章
PTT數位生活區 即時熱門文章