duan8/retinaface/macros.h
FamousDirector 9f9109fdc9
give retinaface TRT8 support (#698)
* give retinaface TRT8 support

* add macros.h to retinaface conversion

* add macros.h to retinaface conversion
2021-08-31 19:05:43 +08:00

13 lines
211 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