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

Function TEST

tensorflow/core/util/gpu_kernel_helper_test.cu.cc:278–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278TEST(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

Callers

nothing calls this directly

Calls 1

GpuLaunchKernelFunction · 0.70

Tested by

no test coverage detected