File: test_gpu_complex.m

package info (click to toggle)
mwrap 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 980 kB
  • sloc: cpp: 3,271; ansic: 856; makefile: 252; lex: 233; sh: 2
file content (7 lines) | stat: -rw-r--r-- 121 bytes parent folder | download
1
2
3
4
5
6
7
% test_gpu_complex driver

mexcuda test_gpu_complex.cu

a = complex(ones(7,1))
agpu = gpuArray(a)
timestwo_complex(agpu)