Hi All,
Is there a way to write a simple C++ program to test relay.build_module.build()?
Basically, I’d like to write C++ version of example given here: https://docs.tvm.ai/tutorials/relay_quick_start.html#sphx-glr-tutorials-relay-quick-start-py
Thanks,
John.
Hi All,
I was able to find out (I guess) what I was looking for. Inside tvm/tests/cpp folder I found a number of examples such as relay_build_module_test.cc.
However, one of the dependencies of these tests is gtest.
I am wondering if we are supposed to compile gtest separately from TVM ? I looked at the 3rdparty folder, and it is not included inside the 3rdparty folder.
Hi All,
I was able to figure out all dependencies, and I build the gtest. I have all the headers now. However, I am getting following error when i am trying to run expr_test.cc.
1>C:\work\tvm\3rdparty\dmlc-core\include\dmlc\logging.h(134,1): error C4996: ‘getenv’: This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
Any ideas ?