remove unused flag, fix lint

pull/12/head
grimoire 2021-06-29 10:23:52 +08:00
parent e08dbf26b3
commit 8fd4ef4d47
6 changed files with 4 additions and 5 deletions

View File

@ -2,9 +2,6 @@ name: build
on: [push, pull_request]
env:
MMCV_WITH_OPS: 1
jobs:
lint:
runs-on: ubuntu-18.04

View File

@ -1,7 +1,7 @@
#include <cmath>
#include "ort_mmcv_utils.h"
#include "grid_sample.h"
#include "ort_mmcv_utils.h"
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define MAX(a, b) (((a) < (b)) ? (b) : (a))

View File

@ -6,7 +6,6 @@
#include "cublas_v2.h"
#include "kernel.h"
#include "trt_plugin_helper.hpp"
#define CUDA_MEM_ALIGN 256

View File

@ -4,6 +4,7 @@
#define TRT_KERNEL_H
#include <cuda_runtime.h>
#include <cassert>
#include <cstdio>

View File

@ -2,6 +2,7 @@
#define NMS_CUDA_KERNEL_CUH
#include <float.h>
#include "common_cuda_helper.hpp"
#define DIVUP(m, n) ((m) / (n) + ((m) % (n) > 0))

View File

@ -2,6 +2,7 @@
#define ROI_ALIGN_CUDA_KERNEL_CUH
#include <float.h>
#include "common_cuda_helper.hpp"
/*** Forward ***/