How to do GPU programming on Macbook Air?

gpu, macos

Solution

By GPU Programming I am assuming you mean high performance parallel calculations on the GPU without graphics (since you mention OpenCL and CUDA).

If so this link may be helpful: https://anteru.net/2012/11/03/2009/.

And that card definitely can't use CUDA.

Problem

I want to try GPU programming. The GPU of my MacBook Air is Intel HD Graphics 3000, so I think I cannot use CUDA. I did some research and ran into OpenCL. But in the homepage, it is said that OpenCL™ (Open Computing Language) is a low-level API for heterogeneous computing that runs on CUDA-powered GPUs. I think my GPU is not CUDA-powered, so maybe OpenCL cannot be used either. Then I wonder how can I do GPU programming on my MacBook Air?

Original source