[OpenGL] Full support in the API?



I have been working with TVM for the first time recently, my goal was to use it on android devices with OpenGL backend as I read recently that an OpenGL backend has been added to TVM.
While trying to make it work, I came across several issues that prevented me from compiling and running OpenGL code.
What I have seen is that:

  • The relay API does not seem to know the OpenGL target, compiling:
    relay.build with target='opengl' throws RuntimeError: schedule not registered for 'opengl'.nnvm.compiler.build, with same target, throwsOpenGL runtime not enabled, return a source moduleā€¦`.
  • The Java class TVMContext does not contain an OpenGL target.

If this is just some parts missing in the API, I may want to work on it and give a contribution.