Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7885

CUDATotal

From dan jack <dan.spectrix@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject CUDATotal
Date 2012-01-16 12:03 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jf13m9$5mm$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

CUDATotal dan jack <dan.spectrix@gmail.com> - 2012-01-16 12:03 +0000
  Re: CUDATotal dan jack <dan.spectrix@gmail.com> - 2012-01-17 12:03 +0000

csiph-web