This could be of interest to computer chess...
http://research.google.com/pubs/pub45226.html
Anyone able to compile Stockfish using this?
- Steve
An Open-Source GPGPU Compiler...
Moderators: hgm, Rebel, chrisw
-
- Posts: 1221
- Joined: Wed Mar 08, 2006 8:28 pm
- Location: Florida, USA
An Open-Source GPGPU Compiler...
http://www.chessprogramming.net - Maverick Chess Engine
-
- Posts: 2556
- Joined: Fri Nov 26, 2010 2:00 pm
- Location: Czech Republic
- Full name: Martin Sedlak
Re: An Open-Source GPGPU Compiler...
As I understand, this is a CUDA compiler;
You can't simply grab existing C++ source and magically benefit from GPGPUs
You have to write carefully optimized CUDA kernels, memory management is also tricky.
You can't simply grab existing C++ source and magically benefit from GPGPUs
You have to write carefully optimized CUDA kernels, memory management is also tricky.
-
- Posts: 2647
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: An Open-Source GPGPU Compiler...
Yes, it seems to be an open-source alternative to nvcc, Nvidia's proprietary CUDA compiler. It can compile CUDA kernel code to PTX (nv*s ISA) which is run by nv's device driver via just in time compilation.As I understand, this is a CUDA compiler;
...in some cases of simple data or task parallelism compiler directives could be enough to make use of GPGPU.You can't simply grab existing C++ source and magically benefit from GPGPUs
https://en.wikipedia.org/wiki/OpenACC
I agree, it can be tricky to map a problem onto GPU.You have to write carefully optimized CUDA kernels, memory management is also tricky.
...btw: AMD released HIP, which should be able to run CUDA code on AMD GPU and CPU devices.
http://www.amd.com/Documents/HIP-Datasheet.pdf
--
Srdja