| 276 | } |
| 277 | |
| 278 | TEST(CudaDeviceFunctionsTest, ShuffleGetSrcLane) { |
| 279 | unsigned* failure_count; |
| 280 | ASSERT_EQ(cudaMallocManaged(&failure_count, sizeof(unsigned)), cudaSuccess); |
| 281 | *failure_count = 0; |
| 282 | TF_EXPECT_OK(GpuLaunchKernel(CudaShuffleGetSrcLaneTest, 1, 32, 0, nullptr, |
| 283 | failure_count)); |
| 284 | ASSERT_EQ(cudaDeviceSynchronize(), cudaSuccess); |
| 285 | ASSERT_EQ(*failure_count, 0); |
| 286 | cudaFree(failure_count); |
| 287 | } |
| 288 | |
| 289 | } // namespace tensorflow |
| 290 |
nothing calls this directly
no test coverage detected