merge from gitlab
This commit is contained in:
@@ -14,9 +14,6 @@
|
||||
|
||||
#ifdef __linux__
|
||||
#include <unistd.h>
|
||||
#elif _WIN32
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <ios>
|
||||
@@ -110,17 +107,6 @@ double t_ns = time_ms.count();
|
||||
FatalError(_error.str()); \
|
||||
} \
|
||||
}
|
||||
struct InferDeleter
|
||||
{
|
||||
template <typename T>
|
||||
void operator()(T* obj) const
|
||||
{
|
||||
if (obj)
|
||||
{
|
||||
obj->destroy();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
ERROR_CUDNN = 2,
|
||||
|
||||
Reference in New Issue
Block a user