pytorch
pytorch copied to clipboard
[Inductor][CPP] Add Min/Max with VecMask
Stack from ghstack (oldest at bottom):
- -> #126841
Summary
Fix issue: https://github.com/pytorch/pytorch/issues/126824 which is missing the support of min/max
with VecMask
.
TestPlan
python test/inductor/test_torchinductor_opinfo.py -k test_comprehensive_clamp_max_cpu_bool
python test/inductor/test_torchinductor_opinfo.py -k test_comprehensive_clamp_min_cpu_bool
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang