I have built tvm with python bindings on Windows. Now I’m testing it and found that some tests fail.
python -m pytest -v tvm_source/tests/python/integration and
test_ewise.py::test_add fails with:
def test_add(): def run(dtype): .... run("float32") run("int32") run("int64") tvm\tests\python\integration\test_ewise.py:256: ... E File "...\tvm_source\src\target\source\codegen_cuda.cc", line 247 E TVMError: Cannot convert type int64x4 to CUDA type on a L32 platform
(I omitted some details.)
Basically my CUDA looks like working with the GPU correctly:
import tvm print(tvm.gpu(0).exsit) print(tvm.gpu(0).compute_version)
Can you please help how to make this test pass?
Can you please tell what the error message and the “L32 platform” mean?
codegen_cuda.cc did not help me,
I’m quite a newbie in tvm, in fact I just would like to make a package from it on Windows.
- I build tvm from source code version
- Statically linked with
- On Windows 10, 64 bit
cl.exe 19.16(Visual Studio 2017)
Any help appreciated!