|
[Date Index]
[Thread Index]
[Author Index]
Re: CUDATotal
- To: mathgroup at smc.vnet.net
- Subject: [mg124381] Re: CUDATotal
- From: dan jack <dan.spectrix at gmail.com>
- Date: Tue, 17 Jan 2012 07:02:10 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jf13m9$5mm$1@smc.vnet.net>
On 16 Gen, 13:03, dan jack <dan.spect... at gmail.com> wrote:
> 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
I found the problem: it is a mistake in my function definition
(integer instead of double) that mess up with the buffer, returning
wrong calculations...
thank you
Prev by Date:
For best performance Graphics Card Quadro 600 or geforce GTX 560 ?
Next by Date:
Re: Cross reference - a further question.
Previous by thread:
CUDATotal
Next by thread:
plotting histograms with do loop
|