forked from wang-xinyu/tensorrtx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update YOLOv3-tiny for TRT8 (wang-xinyu#1064)
* Update YOLOv3-tiny for TRT8 Changes from wang-xinyu#967 * Also apply fixes to utils * Remove redundant macro definition in logging.g
- Loading branch information
1 parent
0f944b8
commit 46dccf1
Showing
5 changed files
with
69 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters