| 64 | } |
| 65 | |
| 66 | XLA_TEST_F(SelectTest, SelectR1S0F32WithConstantR1S0PRED) { |
| 67 | XlaBuilder builder(TestName()); |
| 68 | auto pred = ConstantR1<bool>(&builder, {}); |
| 69 | auto on_true = ConstantR1<float>(&builder, {}); |
| 70 | auto on_false = ConstantR1<float>(&builder, {}); |
| 71 | Select(pred, on_true, on_false); |
| 72 | |
| 73 | ComputeAndCompareR1<float>(&builder, {}, {}, error_spec_); |
| 74 | } |
| 75 | |
| 76 | TEST_F(SelectTest, SelectR1F32WithConstantR1PRED) { |
| 77 | XlaBuilder builder(TestName()); |