gpgpu on mobile?

Folks,
We know that we can do gpgpu with compute-shader and its related unity API. But it is M$ only. How about android-iOS, we can’t do compute shader there. In a native way, we can do opencl. Another candidates, is CUDA, but it is nvidia only. So to work gpgpu on mobile, only way is opencl.

In unity, how can we use opencl? or any other way to do gpgpu?

bump!

Unity doesn’t currently have support for compute shaders on anything other than DirectX 11: http://docs.unity3d.com/Manual/ComputeShaders.html

Which covers windows PC, xbox one, possibly nokia lumia too(no idea about that one). But I want similar functionality for opencl too, as it can be used on mobile.

I don’t know why unity devs put their effort on compute class, doing a opencl API sounds more fit. openCL supports a wide range of products. I know now that there is no API within unity to incorporate(invoke, release mem, set buffer etc) openCL program. But I want to invest time on this.Before that, I want to hear from unity devs, if it CAN be done or NOT. or there already exists some plugin to do this, or there is shortcut way.

Yah I wish something like this was cross-platform or at least available on Mac as well as Windows.

1 Like