MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / TEST_F

Function TEST_F

rtpose_wrapper/src/caffe/test/test_common.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#ifndef CPU_ONLY // GPU Caffe singleton test.
14
15TEST_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

Callers

nothing calls this directly

Calls 5

set_random_seedFunction · 0.85
caffe_rng_bernoulliFunction · 0.85
mutable_cpu_dataMethod · 0.45
cpu_dataMethod · 0.45
mutable_gpu_dataMethod · 0.45

Tested by

no test coverage detected