| 19 | }; |
| 20 | |
| 21 | TEST_F(TensorStreamTest, DefaultStreamIsNullptr) { |
| 22 | auto t = Tensor::empty({4, 4}, Device::CUDA); |
| 23 | EXPECT_EQ(t.stream(), nullptr); |
| 24 | } |
| 25 | |
| 26 | TEST_F(TensorStreamTest, FactoryPicksUpThreadLocalStream) { |
| 27 | cudaStream_t stream; |
nothing calls this directly
no test coverage detected