MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / NewStreamExecutor

Method NewStreamExecutor

tensorflow/stream_executor/stream_test.cc:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23class StreamTest : public ::testing::Test {
24 protected:
25 std::unique_ptr<StreamExecutor> NewStreamExecutor() {
26 Platform* platform =
27 MultiPlatformManager::PlatformWithName("Host").ConsumeValueOrDie();
28 StreamExecutorConfig config(/*ordinal=*/0);
29 return platform->GetUncachedExecutor(config).ConsumeValueOrDie();
30 }
31};
32
33TEST_F(StreamTest, NoInitNotOk) {

Callers

nothing calls this directly

Calls 2

ConsumeValueOrDieMethod · 0.80
GetUncachedExecutorMethod · 0.45

Tested by

no test coverage detected