duan8/retinafaceAntiCov/macros.h
lindsayshuo 12c19acce8
retinafaceAntiCov tensorrt8 (#1366)
* retinafaceAntiCov tensorrt8

* Update decode.h
2023-09-27 18:29:18 +08:00

12 lines
210 B
C

#ifndef __MACROS_H
#define __MACROS_H
#if NV_TENSORRT_MAJOR >= 8
#define TRT_NOEXCEPT noexcept
#define TRT_CONST_ENQUEUE const
#else
#define TRT_NOEXCEPT
#define TRT_CONST_ENQUEUE
#endif
#endif // __MACROS_H