Hello all,
I have built tvm with python bindings on Windows. Now I’m testing it and found that some tests fail.
I run 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)
gives:
True
5.0
Can you please help how to make this test pass?
Can you please tell what the error message and the “L32 platform” mean?
Studying 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.
Details:
- I build tvm from source code version
0.7dev1
- Statically linked with
llvm 9.0.1
-
Cuda 10.2
andcudnn 7.6.5.32
- On Windows 10, 64 bit
- msvc:
cl.exe 19.16
(Visual Studio 2017)
Any help appreciated!