Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

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





  • Prev by Date: Clear all variables but not functions
  • Next by Date: CopyToClipboard problem
  • Previous by thread: Re: Clear all variables but not functions
  • Next by thread: CopyToClipboard problem