2D CUDA-based bilinear interpolation

GPU assisted fast bilinear interpolation
ダウンロード: 3.6K
更新 2008/7/16

ライセンスの表示

This MEX performs 2d bilinear interpolation using an NVIDIA graphics chipset. To compile and run this software, one needs the NVIDIA CUDA Toolkit (http://www.nvidia.com/object/cuda_get.html) and, of course, an NVIDIA graphics card of reasonably modern vintage.

BUILDING INSTRUCTIONS: Change the 'MATLAB' (and if necessary, 'MEX') variables in the Makefile to appropriate values, then simply run 'make' at 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 operations (taking, say, a 50x50 matrix up to 1000x1000) CUDA-based code is 5-10x faster than linear interp2 (as tested on a MBP 2.4GHz C2D, GeForce 8600M GT).

With very (VERY) large matrices, however, it has the capability of completely crashing your computer or giving bizarre results. Be careful!

引用

Alexander Huth (2026). 2D CUDA-based bilinear interpolation (https://jp.mathworks.com/matlabcentral/fileexchange/20248-2d-cuda-based-bilinear-interpolation), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersInterpolation についてさらに検索
謝辞

ヒントを与えたファイル: NVIDIA CUDA-based bilinear (2D) interpolation

バージョン 公開済み リリース ノート
1.0.0.0

Updated help, added test benchmarking script.