| 172 | class TestComputeInternals : public ::testing::Test { |
| 173 | public: |
| 174 | void SetUp() { |
| 175 | rng_.reset(new random::RandomArrayGenerator(/*seed=*/0)); |
| 176 | ResetContexts(); |
| 177 | } |
| 178 | |
| 179 | void ResetContexts() { |
| 180 | exec_ctx_.reset(new ExecContext(default_memory_pool())); |