Apple Metal rather than OpenCL?
Posted: Tue Jul 28, 2015 1:56 am
I've looked at the code. It looks like one could port from OpenCL to Metal without major craziness, but I'd like the developers views on the question. Would such a port be interesting?
MacOS allows OpenCL, but iOS makes OpenCL a private framework, making it unavailable any program with hopes of being on the AppStore. I don't know if anyone has information to the contrary, but it appears that it will stay that way. On the other hand, the Metal framework seems to have a very reasonable GPU compute framework which would presumably be compatible with OpenGLES, as all the diagrams seem to indicate that Metal is a part of the OpenGLES implementation.
So I would rewrite the Bullet3OpenCL directory and instead call a version of the same library, presumably with the same external function names. Does that seem like a sound approach?
Thank you in advance for your advice.
MacOS allows OpenCL, but iOS makes OpenCL a private framework, making it unavailable any program with hopes of being on the AppStore. I don't know if anyone has information to the contrary, but it appears that it will stay that way. On the other hand, the Metal framework seems to have a very reasonable GPU compute framework which would presumably be compatible with OpenGLES, as all the diagrams seem to indicate that Metal is a part of the OpenGLES implementation.
So I would rewrite the Bullet3OpenCL directory and instead call a version of the same library, presumably with the same external function names. Does that seem like a sound approach?
Thank you in advance for your advice.