You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "Jiawei-Shao (via GitHub)" <gi...@apache.org> on 2024/06/07 08:28:27 UTC

[PR] [WebGPU] Translate `int8x4` into `u32` [tvm]

Jiawei-Shao opened a new pull request, #17071:
URL: https://github.com/apache/tvm/pull/17071

   This patch translates an `int8x4` into a `u32` in WGSL shaders as 8-bit integers are not supported in WebGPU right now and the WGSL built-in function `dot4I8Packed()` accepts `u32` as its inputs and each of the `u32` value logically represents a 4-element 8-bit integer vector.
   
   issue: #16627


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [WebGPU] Translate `int8x4` into `u32` [tvm]

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen merged PR #17071:
URL: https://github.com/apache/tvm/pull/17071


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [WebGPU] Translate `int8x4` into `u32` [tvm]

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen commented on PR #17071:
URL: https://github.com/apache/tvm/pull/17071#issuecomment-2154794794

   thank you @Jiawei-Shao 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [WebGPU] Translate `int8x4` into `u32` [tvm]

Posted by "Jiawei-Shao (via GitHub)" <gi...@apache.org>.
Jiawei-Shao commented on PR #17071:
URL: https://github.com/apache/tvm/pull/17071#issuecomment-2154717927

   Hi @tqchen I'd like to submit this part first then work on adding DP4A in TIR.
   PTAL, thanks! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org