提交 9490d243 编写于 作者: L liaogang

ENH: clang-format

上级 3e9aa7fd
......@@ -16,8 +16,8 @@
#include "paddle/memory/detail/system_allocator.h"
#include <vector>
#include <mutex>
#include <vector>
namespace paddle {
namespace memory {
......
......@@ -30,8 +30,7 @@ inline void throw_on_error(cudaError_t e, const char* message) {
int GetDeviceCount(void) {
int count;
throw_on_error(cudaGetDeviceCount(&count),
"cudaGetDeviceCount failed");
throw_on_error(cudaGetDeviceCount(&count), "cudaGetDeviceCount failed");
return count;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册