File tree Expand file tree Collapse file tree
paddle/fluid/platform/device/gpu
test/cpp/fluid/framework/details Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ namespace platform {
2929int DnnVersion ();
3030
3131// ! Get the total number of GPU devices in system.
32- int GetGPUDeviceCount ();
32+ TEST_API int GetGPUDeviceCount ();
3333
3434// ! Get the compute capability of the ith GPU (format: major * 10 + minor)
3535TEST_API int GetGPUComputeCapability (int id);
Original file line number Diff line number Diff line change 11paddle_test (broadcast_op_test SRCS broadcast_op_handle_test.cc )
22
3- cc_test (
4- gather_op_test
5- SRCS gather_op_handle_test.cc
6- DEPS detail_op_handle scope phi common fluid_memory device_context )
3+ paddle_test (gather_op_test SRCS gather_op_handle_test.cc DEPS common )
74
85paddle_test (fused_broadcast_op_test SRCS fused_broadcast_op_handle_test.cc )
96paddle_test (exception_holder_test SRCS exception_holder_test.cc )
You can’t perform that action at this time.
0 commit comments