Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paddle/fluid/platform/device/gpu/gpu_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace platform {
int DnnVersion();

//! Get the total number of GPU devices in system.
int GetGPUDeviceCount();
TEST_API int GetGPUDeviceCount();

//! Get the compute capability of the ith GPU (format: major * 10 + minor)
TEST_API int GetGPUComputeCapability(int id);
Expand Down
5 changes: 1 addition & 4 deletions test/cpp/fluid/framework/details/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
paddle_test(broadcast_op_test SRCS broadcast_op_handle_test.cc)

cc_test(
gather_op_test
SRCS gather_op_handle_test.cc
DEPS detail_op_handle scope phi common fluid_memory device_context)
paddle_test(gather_op_test SRCS gather_op_handle_test.cc DEPS common)

paddle_test(fused_broadcast_op_test SRCS fused_broadcast_op_handle_test.cc)
paddle_test(exception_holder_test SRCS exception_holder_test.cc)
Expand Down