MathGroup Archive 2012

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

Search the Archive

CUDATotal

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124308] CUDATotal
  • From: dan jack <dan.spectrix at gmail.com>
  • Date: Mon, 16 Jan 2012 17:12:37 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Hello everyone,
I have a buffer allocated in GPU memory:

buffer = CUDAMemoryAllocate["Double", 500];

then I do some operations with a function, then I take the buffer back
and compute the total of that array:

v = CUDAMemoryGet[buffer];
Total[v]

but the result I obtain with
CUDATotal[buffer]

is different...
why?

thank you all



  • Prev by Date: How to remove the Null character in a Table?
  • Next by Date: how can one use mathematica get the approximate derivative of {x,y} data points?
  • Previous by thread: Re: How to remove the Null character in a Table?
  • Next by thread: Re: CUDATotal