Earlier quoted context omitted.
So why would you go with OpenCL? Is it portability? For a while I thought that was worth it but I am having a hard time remaining convinced of that.
OpenCL is a standards compliant compute API that is supported by Nvidia, AMD, Intel, IBM, Sony, Apple, and several other companies. Nvidia is in the slow process of eventually discontinuing further CUDA support, and it is recommended to write new code in OpenCL only.
Postgres on the GPU
71–79 of 79 posts
Re: Postgres on the GPU
#72Earlier quoted context omitted.
There are probably a lot of factors. I worked on CUDA code for around a year, and used to understand the landscape pretty well, but if I were to start a high-performance computing project today I'd probably take my lumps and go with OpenCL. There would be a lot of lumps. Firstly, CUDA is just more mature; there is a very large and well-established set of libraries for a lot of common operations, there is a decent siz…
So why would you go with OpenCL? Is it portability? For a while I thought that was worth it but I am having a hard time remaining convinced of that.
Re: Postgres on the GPU
#73NVidia's CUDA only (for now?) Anyone can explain why opensource projects embrace CUDA over OpenCL? As I understand OpenCL is more generic API which could be potentially used with CPUs and GPUs.
there are matrix multiplication routines developed for CUDA. OpenCL you would have to do everything from the ground up. So Nvidia gave everyone a head start for numerical computation, and that edge has ever since snowballed.
Re: Postgres on the GPU
#74Earlier quoted context omitted.
OpenCL is a standards compliant compute API that is supported by Nvidia, AMD, Intel, IBM, Sony, Apple, and several other companies. Nvidia is in the slow process of eventually discontinuing further CUDA support, and it is recommended to write new code in OpenCL only.
How come, given that only CUDA has direct support for C++ and FORTRAN compilers that target the GPU?
[1] http://www.techpowerup.com/181585/NVIDIA-CUDA-Gets-Python-Su...
[2] http://www.mathworks.com/discovery/matlab-gpu.html
[3] https://www.quantalea.net/media/pdf/2012-11-29_Zurich_FSharp...
Re: Postgres on the GPU
#75All the examples seem to use numbers (integers and floats). It would be interesting to see if it can work efficiently with variable-width strings, which is the main workload that I encounter. But even if not, I see the value working with lots of data.
GPU is good at calculating stuff (nVidia in particular at calculating floats.) I do not see reasons to do text stuff with GPU
[1] http://en.wikipedia.org/wiki/Smith%E2%80%93Waterman_algorith...
Re: Postgres on the GPU
#76Re: Postgres on the GPU
#77Earlier quoted context omitted.
On the contrary, I'd argue that it's not true in specific cases . "Because it's hard" is a cop-out. "It's too hard to accomplish given constraint [X]" where X is a deadline, financial constraints, or other real/tangible resource limitations might be one thing. But if you're working on your own timeline on some sort of open-source project, or there is nothing external preventing you from acquiring the expertise/resour…
Even if the long term goal is more portable GPU support it still makes some sense to get a CUDA implementation up first if it is easier to get to. It then allows real world testing faster, can always go to openCL later once they know more.
Re: Postgres on the GPU
#78Earlier quoted context omitted.
It's read only...
I think that he is referring to the tendency of GPU drivers to crash. Even if the DB is read-only from the GPUs' standpoint, if the DB goes down because of faulty drivers it's still a problem.
Ignoring Windows as I guess I don't really take Windows servers too seriously.