Debug for implementing 3D rendering in heterocl
Closed this issue · 1 comments
File "first try.py", line 206, in
f = hcl.build(s)
File "/home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/heterocl/api.py", line 318, in build
return _build(schedule.sch, new_inputs, target=target, name=name, stmt=stmt)
File "/home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/heterocl/tvm/build_module.py", line 560, in build
stmt=stmt)
File "/home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/heterocl/tvm/build_module.py", line 385, in lower
return ir_pass.MakeAPI(stmt, name, arg_list, 0, cfg.restricted_func)
File "/home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/heterocl/tvm/_ffi/function.py", line 280, in my_api_func
return flocal(*args)
File "/home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/heterocl/tvm/_ffi/_ctypes/function.py", line 183, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File "/home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/heterocl/tvm/_ffi/base.py", line 66, in check_call
raise TVMError(py_str(_LIB.TVMGetLastError()))
heterocl.tvm._ffi.base.TVMError: [17:24:38] src/pass/make_api.cc:168: Not all Vars are passed in api_args: 'fragment' 'pixels' does not appeared in api_args
Stack trace returned 10 entries:
[bt] (0) /home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/lib/libhcl.so(dmlc::StackTrace()+0x3c) [0x7f4b7c463d1c]
[bt] (1) /home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/lib/libhcl.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x18) [0x7f4b7c464068]
[bt] (2) /home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/lib/libhcl.so(TVM::ir::MakeAPI(Halide::Internal::Stmt, std::string, TVM::Array<TVM::NodeRef, void>, int, bool)+0x22d2) [0x7f4b7c511552]
[bt] (3) /home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/lib/libhcl.so(+0xa95d65) [0x7f4b7c624d65]
[bt] (4) /home/dnd29/.local/lib/python3.6/site-packages/heterocl-0.1-py3.6.egg/lib/libhcl.so(TVMFuncCall+0x52) [0x7f4b7c8eef12]
[bt] (5) /home/dnd29/.conda/envs/python3-env/lib/python3.6/lib-dynload/../../libffi.so.7(+0x69dd) [0x7f4b939bc9dd]
[bt] (6) /home/dnd29/.conda/envs/python3-env/lib/python3.6/lib-dynload/../../libffi.so.7(+0x6067) [0x7f4b939bc067]
[bt] (7) /home/dnd29/.conda/envs/python3-env/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(_ctypes_callproc+0x2ce) [0x7f4b8c377ede]
[bt] (8) /home/dnd29/.conda/envs/python3-env/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(+0x13915) [0x7f4b8c378915]
[bt] (9) python(_PyObject_FastCallDict+0x8b) [0x55f3a111d4eb]