ENH: clang-format

gangliao-patch-1
liaogang 8 years ago
parent 3e9aa7fd8b
commit 9490d243dd

@ -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;
}

Loading…
Cancel
Save