提交 71b42039 编写于 作者: W wangkuiyi 提交者: GitHub

Merge pull request #873 from reyoung/feature/adapt_clang_format4

Fit pre-commit for clang-format 4.x
...@@ -12,6 +12,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -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 See the License for the specific language governing permissions and
limitations under the License. */ 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 "hl_cuda.h"
#include <cuda_profiler_api.h> #include <cuda_profiler_api.h>
#include <string.h> #include <string.h>
...@@ -23,6 +26,7 @@ limitations under the License. */ ...@@ -23,6 +26,7 @@ limitations under the License. */
#include "hl_dso_loader.h" #include "hl_dso_loader.h"
#include "hl_thread.ph" #include "hl_thread.ph"
#include "paddle/utils/Logging.h" #include "paddle/utils/Logging.h"
// clang-format on
namespace dynload { namespace dynload {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册