I think the metal test (tvm/vta/tests/hardware/metal_test) was not ported to pynq v2.3 and I would like to know how to proceed.
The changes that were introduced in #1945 were:
- Remove dependency to dma,sds lib. Instead, the cma lib is used
- The XDEVCFG interface is deprecated so
VTAProgram
was removed
Problem 1:
Files that were not updated:
tvm/vta/python/vta/pkg_config.py
tvm/vta/tests/hardware/metal_test/Makefile
both still add sds_lib, libdma to ldflags
Problem 2:
tvm/vta/tests/hardware/common/test_lib.cc
used by the VTA metal test still includes the VTAProgram
call.
I haven’t found a replacement for this call. The pynq way is to flash the bitstream with the python overlay, but there is no C interface?.
Is there still demand for the metal test or is it already superseded by the python unit tests (tvm\vta\tests\python\unittest
)?
I’d like to make a pull request for problem 1 if it’s not superseded.
PS:
To my understanding this is also the problem that another person reported (zkh2018) in the git issue #2650.