[PyCUDA] Histograms with PyCUDA
Andreas Kloeckner
lists at informa.tiker.net
Wed Apr 4 11:32:44 PDT 2012
<#part sign=pgpmime>
On Wed, 4 Apr 2012 19:47:08 +0200, Francisco Villaescusa Navarro <villaescusa.francisco at gmail.com> wrote:
> Hi,
>
> I have been writing some lines for a project regarding management of
> pretty large data sets. I have been trying to simplify the problem as
> much as possible to understand where the problem is since I got wrong
> results.
>
> The simplification of the problem is the following:
>
> I have a pretty long array of data containing numbers in a given
> interval (let's suppose between 0.0 and 1.0), for example
>
> total_numbers=10000
> np.random.random(total_numbers).astype(np.float32)
>
> I would like make a histogram of those data. I was wondering which
> would be the best strategy to achieve this in PyCUDA.
http://lmgtfy.com/?q=cuda+histogram
:) (Nothing special about *Py*CUDA in this instance. In particular,
there's no canned functionality that will do this for you.)
HTH,
Andreas
More information about the PyCUDA
mailing list