diff --git a/.github/workflows/cpp-check.yaml b/.github/workflows/cpp-check.yaml index ddff7e001abde..e6c6df61fa1f1 100644 --- a/.github/workflows/cpp-check.yaml +++ b/.github/workflows/cpp-check.yaml @@ -9,7 +9,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Install Cppcheck run: sudo apt-get install -y cppcheck @@ -17,7 +17,9 @@ jobs: - name: Get changed files id: changed-files run: | + echo ${{ github.base_ref }} ${{ github.head_ref }} git fetch origin ${{ github.base_ref }} --depth=1 + git fetch origin ${{ github.head_ref }} --depth=1 git diff --name-only origin/${{ github.base_ref }} ${{ github.head_ref }} > changed_files.txt cat changed_files.txt diff --git a/perception/lidar_centerpoint/lib/centerpoint_trt.cpp b/perception/lidar_centerpoint/lib/centerpoint_trt.cpp index 2804e172b73fa..b5dd181c179f5 100644 --- a/perception/lidar_centerpoint/lib/centerpoint_trt.cpp +++ b/perception/lidar_centerpoint/lib/centerpoint_trt.cpp @@ -86,6 +86,9 @@ void CenterPointTRT::initPtr() // host points_.resize(CAPACITY_POINT * config_.point_feature_size_); + int hoge = 2; + void(hoge); + // device voxels_d_ = cuda::make_unique(voxels_size_); coordinates_d_ = cuda::make_unique(coordinates_size_);