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:
RuntimeError: schedule not registered for 'opengl'.nnvm.compiler.build
, with same target, throwsOpenGL runtime not enabled, return a source module…`.
- The Java class
TVMContextdoes 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.