TODO(b/74197823): Disabled because there is no cache in the new design.
| 74 | |
| 75 | // TODO(b/74197823): Disabled because there is no cache in the new design. |
| 76 | XLA_TEST_F(CompilationCacheTest, DISABLED_ComputationCalledMultipleTimes) { |
| 77 | XlaBuilder builder(TestName()); |
| 78 | Neg(ConstantR0<float>(&builder, 42.0)); |
| 79 | XlaComputation computation = builder.Build().ConsumeValueOrDie(); |
| 80 | |
| 81 | ExecuteComputationR0F32(computation, {}, -42.0, /*expect_cache_hit=*/false); |
| 82 | ExecuteComputationR0F32(computation, {}, -42.0, /*expect_cache_hit=*/true); |
| 83 | ExecuteComputationR0F32(computation, {}, -42.0, /*expect_cache_hit=*/true); |
| 84 | } |
| 85 | |
| 86 | // TODO(b/74197823): Disabled because there is no cache in the new design. |
| 87 | XLA_TEST_F(CompilationCacheTest, |
nothing calls this directly
no test coverage detected