Re: [HACKERS] CUDA Sorting

2011-09-27 Thread Vitor Reus
Hey hackers, I'm still having problems reading the values of the columns in tuplesort.c, in order to understand how to port this to CUDA. Should I use the heap_getattr macro to read them? 2011/9/24 Hannu Krosing > On Mon, 2011-09-19 at 10:36 -0400, Greg Smith wrote: > > On 09/19/2011 10:12 AM,

Re: [HACKERS] CUDA Sorting

2011-09-19 Thread Vitor Reus
2011/9/19 Thom Brown > Is your aim to have this committed into core PostgreSQL, or just for > your own version?  If it's the former, I don't anticipate any > enthusiasm from the hacker community. This is a research thesis and I'm not confident to commit it on the core just by myself. I will, howe

[HACKERS] CUDA Sorting

2011-09-19 Thread Vitor Reus
Hello everyone, I'm implementing a CUDA based sorting on PostgreSQL, and I believe it can improve the ORDER BY statement performance in 4 to 10 times. I already have a generic CUDA sort that performs around 10 times faster than std qsort. I also managed to load CUDA into pgsql. Since I'm new to p