tqchen commented on code in PR #18646:
URL: https://github.com/apache/tvm/pull/18646#discussion_r2798572689
##########
tests/python/codegen/test_target_codegen_llvm.py:
##########
@@ -378,6 +378,31 @@ def check_llvm(n):
check_llvm(64)
[email protected]_llvm
+def test_llvm_cast_float_to_bool():
+ a_np = np.array([0.0, 1.0, np.nan, np.inf], dtype="float32")
+ n = a_np.shape[0]
+
+ A = te.placeholder((n,), name="A", dtype="float32")
Review Comment:
use tvmscript instead of the te schedule in as in other part of the tests
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]