fixed some errs on gcc12
This commit is contained in:
parent
6d9ed7b25b
commit
95401036ab
|
|
@ -64,7 +64,7 @@ if(TIM_VX_ENABLE_TEST)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
googletest
|
googletest
|
||||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||||
GIT_TAG release-1.10.0
|
GIT_TAG release-1.12.0
|
||||||
)
|
)
|
||||||
|
|
||||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
#define TIM_VX_OPS_MAXPOOLGRAD_H_
|
#define TIM_VX_OPS_MAXPOOLGRAD_H_
|
||||||
|
|
||||||
#include "tim/vx/operation.h"
|
#include "tim/vx/operation.h"
|
||||||
|
#include <array>
|
||||||
namespace tim {
|
namespace tim {
|
||||||
namespace vx {
|
namespace vx {
|
||||||
namespace ops {
|
namespace ops {
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
#include "tim/vx/ops/stridedslice.h"
|
#include "tim/vx/ops/stridedslice.h"
|
||||||
#include "tim/transform/layout_inference.h"
|
#include "tim/transform/layout_inference.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue