andy-yang-1 opened a new pull request, #13973:
URL: https://github.com/apache/tvm/pull/13973
This PR introduces a new pass InjectPTXLDG32 to change the `if_then_else`
call node to `ptx_pred_ldg32` call node. When the store buffer is local and the
load value is global, the pass can change the if_then_else pattern to a ptx
pattern.
Test the pass with
~~~python
with tvm.transform.PassContext(config={"tir.ptx_pred_ldg32": True}):
mod = tvm.build(f, target="cuda")
~~~
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]