Hi,
I’m getting the same error wilr taying to run tensor_expr_get_started.py
Traceback (most recent call last):
File "tensor_expr_get_started.py", line 139, in <module>
fadd = tvm.build(s, [A, B, C], tgt, target_host=tgt_host, name="myadd")
File "/home/drorca/.local/lib/python3.5/site-packages/tvm-0.6.dev0-py3.5-linux-x86_64.egg/tvm/build_module.py", line 621, in build
fhost, mdev = _build_for_device(flist, tar, target_host)
File "/home/drorca/.local/lib/python3.5/site-packages/tvm-0.6.dev0-py3.5-linux-x86_64.egg/tvm/build_module.py", line 488, in _build_for_device
mdev = codegen.build_module(fdevice, str(target)) if fdevice else None
File "/home/drorca/.local/lib/python3.5/site-packages/tvm-0.6.dev0-py3.5-linux-x86_64.egg/tvm/codegen.py", line 36, in build_module
return _Build(lowered_func, target)
File "/home/drorca/.local/lib/python3.5/site-packages/tvm-0.6.dev0-py3.5-linux-x86_64.egg/tvm/_ffi/_ctypes/function.py", line 210, in __call__
raise get_last_ffi_error()
tvm._ffi.base.TVMError: Traceback (most recent call last):
File "/home/drorca/dror/tvm/tvm/src/codegen/opt/build_cuda_on.cc", line 119
nvrtc: Check failed: compile_res == NVRTC_SUCCESS (5 vs. 0) : error: invalid value for --gpu-architecture (-arch)