| 13 | #ifndef CPU_ONLY // GPU Caffe singleton test. |
| 14 | |
| 15 | TEST_F(CommonTest, TestCublasHandlerGPU) { |
| 16 | int cuda_device_id; |
| 17 | CUDA_CHECK(cudaGetDevice(&cuda_device_id)); |
| 18 | EXPECT_TRUE(Caffe::cublas_handle()); |
| 19 | } |
| 20 | |
| 21 | #endif |
| 22 |
nothing calls this directly
no test coverage detected