0
void mexFunction( int nlhs, mxArray *plhs[],
                  int nrhs, const mxArray *prhs[]) 
{
 extent<2> e(m, n);
 array_view<const float, 2> GPUmatrix(e,prhs[])
.
.
.
.

}

我想在matlab中使用C++AMP访问GPU的内存

我有带有 SP 和 DP 计算进程的 radeon GPU,我只想在我的计算算法中使用 GPU。???以避免访问 CPU 内存。

4

0 回答 0