| 75 | }; |
| 76 | |
| 77 | XLA_TEST_F(CallOpTest, CallR0F32IdentityScalar) { |
| 78 | XlaBuilder builder(TestName()); |
| 79 | XlaComputation callee = CreateR0F32IdentityComputation(); |
| 80 | auto constant = ConstantLiteral(&builder, LiteralUtil::CreateR0<float>(42.0)); |
| 81 | Call(&builder, callee, {constant}); |
| 82 | |
| 83 | ComputeAndCompareR0<float>(&builder, 42.0, {}, ErrorSpec(0.01f)); |
| 84 | } |
| 85 | |
| 86 | XLA_TEST_F(CallOpTest, CallR1S0F32AddArray) { |
| 87 | XlaBuilder builder(TestName()); |
nothing calls this directly
no test coverage detected