News for hackers. Stuff that matters.
Re:A Taste of GPU Compute [video] by flumpcakes on Friday April 17, 2020 @09:06PM (#22904474)
Hi,

If you want to target GPU in some form to increase performance (open source standards that currently fill this niche are OpenCL for compute, OpenGL/Vulkan for graphics) but you want to use the same code for CPU and GPU there is a solution!

There's a new standard called SYCL.

Currently it is based on C++11 and there are implementations that target OpenGL and CUDA.

Re:A Taste of GPU Compute [video] by pjmlp on Saturday April 18, 2020 @07:57AM (#22907095)
Except that one needs to rely on tooling from CodePlay or Intel.

NVidia isn't that keen in supporting OpenCL beyond 1.2 and is pushing for OpenACC in what concerns GPGPU outside CUDA on their hardware.

Re:A Taste of GPU Compute [video] by VHRanger on Friday April 17, 2020 @09:30PM (#22904586)
OpenCL can target the CPU
Re:A Taste of GPU Compute [video] by raphlinus on Friday April 17, 2020 @09:47PM (#22904659)
Indeed. I think it's fair to say that OpenCL is excellent for targeting a very wide range of devices, with the exception of most high performance GPUs.