The GitHub Actions job "Lint" on tvm.git/fix/cuda-min-max-nan has failed.
Run started by GitHub user LngelKyo (triggered by LngelKyo).

Head commit for run:
4232dd4377b62e252b11a3f0220aa36d81721b98 / LngelKyo <[email protected]>
[Fix][CUDA] Constant-operand fast paths for NaN-preserving min/max

Match #20054's four constant-operand cases (host side, min_max_utils.h):
a constant NaN operand (FloatImm or Broadcast of FloatImm) is printed
directly as the surviving operand; a constant non-NaN operand lets the
ternary drop its NaN clause — lhs non-NaN keeps the ordered compare,
rhs non-NaN reverses it to a non-strict compare so a's NaN makes the
compare false and a survives, with ties taking b. The constant side is
not SSA-bound. Helper AsFloatImm lives in the anonymous namespace of
codegen_cuda.cc, noted as sharing semantics with #20054's
min_max_utils.h so the two can be merged later.

Tests mirror #20054's test_min_max_float_imm_operand: data
[nan, -0.0, 0.0, -1.0, 1.0, inf, -inf, 2.0], parameterized op ×
const_side × const ∈ {0.0, NaN} × {scalar, vec4}, bitwise against
np.where(cmp | isnan(lhs), lhs, rhs).

Report URL: https://github.com/apache/tvm/actions/runs/35664917449

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to