Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#873 from reyoung/feature/adapt_clang_…
Browse files Browse the repository at this point in the history
…format4

Fit pre-commit for clang-format 4.x
  • Loading branch information
wangkuiyi authored Dec 14, 2016
2 parents b0c6331 + f821b6b commit 71b4203
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions paddle/cuda/src/hl_cuda_device.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */

// clang-format off
// Because clang-format 4.X and clang-format 3.8+ format
// following lines in different. So disable clang-format.
#include "hl_cuda.h"
#include <cuda_profiler_api.h>
#include <string.h>
Expand All @@ -23,6 +26,7 @@ limitations under the License. */
#include "hl_dso_loader.h"
#include "hl_thread.ph"
#include "paddle/utils/Logging.h"
// clang-format on

namespace dynload {

Expand Down

0 comments on commit 71b4203

Please sign in to comment.