Totaling arrays

Hello there,
I was wondering if anyone knows a built in function or maybe code
that will total up an array on the GPU.

I am not sure what the fastest way would be.

open to any ideas


You want to do a reduction. The SDK has an example project with code to do this operation.