OpenCL 101 - Write an OpenCL program from scratch In this article we'll write parallel code that can run on a CPU or GPU, for both AMD and NVidia devices. This is the OpenCL version of our CUDA 101 article. Even if you plan on writing code for CPU or an AMD GPU, it you might find it helpful to first skip the CUDA article above. The OpenCL interface is unfortunately much more verbose, so it can be…