Re: CUDA Sorting

Gaetano Mendola <mendola@gmail.com>

From: Gaetano Mendola <mendola@gmail.com>
To: Greg Stark <stark@mit.edu>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>, Greg Smith <greg@2ndquadrant.com>, Kohei KaiGai <kaigai@kaigai.gr.jp>
Date: 2012-02-13T22:51:11Z
Lists: pgsql-hackers
On Feb 13, 2012 7:49 p.m., "Greg Stark" <stark@mit.edu> wrote:
>
> I don't think we should be looking at either CUDA or OpenCL directly.
> We should be looking for a generic library that can target either and
> is well maintained and actively developed. Any GPU code we write
> ourselves would rapidly be overtaken by changes in the hardware and
> innovations in parallel algorithms. If we find a library that provides
> a sorting api and adapt our code to use it then we'll get the benefits
> of any new hardware feature as the library adds support for them.

To sort integer I used the Thrust Nvidia library.