Does CUDAImageConvolve work on lists?
- To: mathgroup at smc.vnet.net
- Subject: [mg122186] Does CUDAImageConvolve work on lists?
- From: DmitryG <einschlag at gmail.com>
- Date: Wed, 19 Oct 2011 05:35:40 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
It is written in Mathematica's help:
"
CUDAImageConvolve[img,kern]
gives the convolution of img with kern.
CUDAImageConvolve[list,kern]
gives the convolution of list with kern.
"
However, for me CUDAImageConvolve does not work on lists. An example:
NN = 500;
sList = Table[RandomReal[{0, 1}], {i, 1, NN}, {j, 1, NN}];
ListConvolve[sList, sList] (* Works *)
(* But *)
Needs["CUDALink`"]
CUDAImageConvolve[sList, sList] (* Does not work *)
Dmitry