Skip to content

Commit be1b70e

Browse files
committed
Tuning travis
1 parent 068bfbb commit be1b70e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

paddle/cuda/src/hl_cuda_device.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

15+
#include "hl_cuda.h"
1516
#include <cuda_profiler_api.h>
1617
#include <string.h>
1718
#include <sys/syscall.h>
1819
#include <sys/time.h>
1920
#include <unistd.h>
2021
#include <mutex>
21-
#include "hl_cuda.h"
2222
#include "hl_cuda.ph"
2323
#include "hl_dso_loader.h"
2424
#include "hl_thread.ph"

paddle/scripts/travis/precommit.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
set -e
33
source common.sh
44
cd ..
5+
export PATH=/usr/bin:$PATH
56
pre-commit install
7+
clang-format --version
68
pre-commit run -a

0 commit comments

Comments
 (0)