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. :slight_smile:
 
Details:
- I build tvm from source code version `0.7dev1`
- Statically linked with `llvm 9.0.1`
- `Cuda 10.2` and `cudnn 7.6.5.32`
- On Windows 10, 64 bit
- msvc: `cl.exe 19.16` (Visual Studio 2017)

Any help appreciated!





---
[Visit 
Topic](https://discuss.tvm.ai/t/q-tvmerror-cannot-convert-type-int64x4-to-cuda-type-on-a-l32-platform-test-ewise-py-test-add-fails/6957/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/4f8dbece7cfe51791b46c8761a6c8325e90826bb3c4e1b0bd9b8ba076aa43881).

Reply via email to