It seems that for Windows `sizeof(long)=4` 
([here](https://docs.microsoft.com/en-us/cpp/cpp/data-type-ranges?view=vs-2019))
 while it is typically 8 for other platforms. Since `longlong3` and `longlong4` 
are now supported since CUDA 10, maybe you can try replace 
[L247](https://github.com/apache/incubator-tvm/blob/65224d9a67fc93919421e485771ec67e50c58543/src/target/source/codegen_cuda.cc#L247)
 to something like 
```
if (t.lanes() == 3){
  os << "longlong3";
}else{
  os << "longlong4";
}
```
, if you need `int64` support.





---
[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/2)
 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/866497284cf4a741b5635f4e228f916131063952e70f67f81bd20c5ee71e51c6).

Reply via email to