In file included from ./cyber/common/log.h:27:0,
from ./modules/perception/base/blob.h:72,
from ./modules/perception/inference/inference.h:26,
from ./modules/perception/inference/libtorch/torch_det.h:27,
from modules/perception/inference/libtorch/torch_det.cc:17:
bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/virtual_includes/glog/glog/logging.h:1001:0: warning: "DCHECK_NOTNULL" redefined
#define DCHECK_NOTNULL(val) CHECK_NOTNULL(val)
In file included from external/libtorch_gpu/c10/util/Logging.h:28:0,
from external/libtorch_gpu/c10/core/TensorImpl.h:18,
from external/libtorch_gpu/ATen/core/TensorBody.h:11,
from external/libtorch_gpu/ATen/Tensor.h:3,
from external/libtorch_gpu/ATen/Context.h:4,
from external/libtorch_gpu/ATen/ATen.h:5,
from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3,
from external/libtorch_gpu/torch/script.h:3,
from ./modules/perception/inference/libtorch/torch_det.h:24,
from modules/perception/inference/libtorch/torch_det.cc:17:
external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:183:0: note: this is the location of the previous definition
#define DCHECK_NOTNULL(val)
In file included from ./cyber/common/log.h:27:0,
from ./modules/perception/base/blob.h:72,
from ./modules/perception/inference/inference.h:26,
from ./modules/perception/inference/libtorch/torch_det.h:27,
from modules/perception/inference/libtorch/torch_det.cc:17:
bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/virtual_includes/glog/glog/logging.h:1098:0: warning: "VLOG" redefined
#define VLOG(verboselevel) LOG_IF(INFO, VLOG_IS_ON(verboselevel))
In file included from external/libtorch_gpu/c10/util/Logging.h:28:0,
from external/libtorch_gpu/c10/core/TensorImpl.h:18,
from external/libtorch_gpu/ATen/core/TensorBody.h:11,
from external/libtorch_gpu/ATen/Tensor.h:3,
from external/libtorch_gpu/ATen/Context.h:4,
from external/libtorch_gpu/ATen/ATen.h:5,
from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3,
from external/libtorch_gpu/torch/script.h:3,
from ./modules/perception/inference/libtorch/torch_det.h:24,
from modules/perception/inference/libtorch/torch_det.cc:17:
external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:99:0: note: this is the location of the previous definition
#define VLOG(n) LOG((-n))
In file included from ./cyber/common/log.h:27:0,
from ./modules/perception/base/blob.h:72,
from ./modules/perception/inference/inference.h:26,
from ./modules/perception/inference/libtorch/torch_det.h:27,
from modules/perception/inference/libtorch/torch_det.cc:17:
bazel-out/aarch64-fastbuild/bin/external/com_github_google_glog/virtual_includes/glog/glog/logging.h:1100:0: warning: "VLOG_IF" redefined
#define VLOG_IF(verboselevel, condition)
In file included from external/libtorch_gpu/c10/util/Logging.h:28:0,
from external/libtorch_gpu/c10/core/TensorImpl.h:18,
from external/libtorch_gpu/ATen/core/TensorBody.h:11,
from external/libtorch_gpu/ATen/Tensor.h:3,
from external/libtorch_gpu/ATen/Context.h:4,
from external/libtorch_gpu/ATen/ATen.h:5,
from external/libtorch_gpu/torch/csrc/api/include/torch/types.h:3,
from external/libtorch_gpu/torch/script.h:3,
from ./modules/perception/inference/libtorch/torch_det.h:24,
from modules/perception/inference/libtorch/torch_det.cc:17:
external/libtorch_gpu/c10/util/logging_is_not_google_glog.h:104:0: note: this is the location of the previous definition
#define VLOG_IF(n, condition) LOG_IF((-n), (condition))
(02:57:18) INFO: From Compiling modules/perception/inference/tensorrt/rt_net.cc:
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:25:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
./modules/perception/inference/tensorrt/batch_stream.h:45:32: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsNCHW getDims() const { return mDims; }
^~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here
class TRT_DEPRECATED DimsNCHW : public Dims4
^~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:25:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
./modules/perception/inference/tensorrt/batch_stream.h:60:22: warning: 'DimsNCHW' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsNCHW mDims;
^~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:316:22: note: declared here
class TRT_DEPRECATED DimsNCHW : public Dims4
^~~~~~~~
In file included from modules/perception/inference/tensorrt/rt_net.cc:17:0:
./modules/perception/inference/tensorrt/rt_net.h:42:41: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
typedef std::map<std::string, nvinfer1::DimsCHW> TensorDimsMap;
^~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0,
from modules/perception/inference/tensorrt/rt_net.cc:26:
./modules/perception/inference/tensorrt/rt_common.h:38:41: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
typedef std::map<std::string, nvinfer1::DimsCHW> TensorDimsMap;
^~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0,
from modules/perception/inference/tensorrt/rt_net.cc:26:
./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
const nvinfer1::DimsCHW &inputDims);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0,
from modules/perception/inference/tensorrt/rt_net.cc:26:
./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
const nvinfer1::DimsCHW &inputDims);
^
./modules/perception/inference/tensorrt/rt_common.h:41:65: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
./modules/perception/inference/tensorrt/rt_common.h:62:56: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
inline nvinfer1::DimsCHW getCHW(const nvinfer1::Dims &d) {
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
In file included from ./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:23:0,
from modules/perception/inference/tensorrt/rt_net.cc:26:
./modules/perception/inference/tensorrt/rt_common.h: In function 'nvinfer1::DimsCHW apollo::perception::inference::getCHW(const nvinfer1::Dims&)':
./modules/perception/inference/tensorrt/rt_common.h:65:45: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
d.d[d.nbDims - 1]);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0:
./modules/perception/inference/tensorrt/plugins/argmax_plugin.h: In constructor 'apollo::perception::inference::ArgMax1Plugin::ArgMax1Plugin(const apollo::perception::inference::ArgMaxParameter&, nvinfer1::Dims)':
./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0:
./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0:
./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0:
./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0:
./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:26:0:
./modules/perception/inference/tensorrt/plugins/argmax_plugin.h:37:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0:
./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h: In constructor 'apollo::perception::inference::ReLUPlugin::ReLUPlugin(const apollo::perception::inference::ReLUParameter&, const nvinfer1::Dims&)':
./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0:
./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0:
./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0:
./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0:
./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:28:0:
./modules/perception/inference/tensorrt/plugins/leakyReLU_plugin.h:35:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0:
./modules/perception/inference/tensorrt/plugins/slice_plugin.h: In constructor 'apollo::perception::inference::SLICEPlugin::SLICEPlugin(const apollo::perception::inference::SliceParameter&, const nvinfer1::Dims&)':
./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0:
./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0:
./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0:
./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0:
./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:31:0:
./modules/perception/inference/tensorrt/plugins/slice_plugin.h:40:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0:
./modules/perception/inference/tensorrt/plugins/softmax_plugin.h: In constructor 'apollo::perception::inference::SoftmaxPlugin::SoftmaxPlugin(const apollo::perception::inference::SoftmaxParameter&, nvinfer1::Dims)':
./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0:
./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0:
./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:19: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0:
./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0:
./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
In file included from modules/perception/inference/tensorrt/rt_net.cc:32:0:
./modules/perception/inference/tensorrt/plugins/softmax_plugin.h:31:37: warning: 'nvinfer1::Dims::type' is deprecated [-Wdeprecated-declarations]
input_dims.type[i] = in_dims.type[i];
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS];  //!< The type of each dimension.
^
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addConvLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, apollo::perception::inference::WeightMap*, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:92:78: warning: 'virtual nvinfer1::IConvolutionLayer* nvinfer1::INetworkDefinition::addConvolution(nvinfer1::ITensor&, int, nvinfer1::DimsHW, nvinfer1::Weights, nvinfer1::Weights)' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsHW{kernelH, kernelW}, wt, bias_weight);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:4905:47: note: declared here
TRT_DEPRECATED virtual IConvolutionLayer* addConvolution(ITensor& input, int nbOutputMaps, DimsHW kernelSize,
^~~~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:114:60: warning: 'virtual void nvinfer1::IConvolutionLayer::setStride(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
convLayer->setStride(nvinfer1::DimsHW{strideH, strideW});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:1205:33: note: declared here
TRT_DEPRECATED virtual void setStride(DimsHW stride) TRTNOEXCEPT = 0;
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:115:55: warning: 'virtual void nvinfer1::IConvolutionLayer::setPadding(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
convLayer->setPadding(nvinfer1::DimsHW{padH, padW});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:1229:33: note: declared here
TRT_DEPRECATED virtual void setPadding(DimsHW padding) TRTNOEXCEPT = 0;
^~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:117:66: warning: 'virtual void nvinfer1::IConvolutionLayer::setDilation(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
convLayer->setDilation(nvinfer1::DimsHW{dilationH, dilationW});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:1312:33: note: declared here
TRT_DEPRECATED virtual void setDilation(DimsHW dilation) TRTNOEXCEPT = 0;
^~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addDeconvLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, apollo::perception::inference::WeightMap*, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:168:75: warning: 'virtual nvinfer1::IDeconvolutionLayer* nvinfer1::INetworkDefinition::addDeconvolution(nvinfer1::ITensor&, int, nvinfer1::DimsHW, nvinfer1::Weights, nvinfer1::Weights)' is deprecated [-Wdeprecated-declarations]
(weight_map)[layer_param.name().c_str()][1]);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5039:49: note: declared here
TRT_DEPRECATED virtual IDeconvolutionLayer addDeconvolution(ITensor& input, int nbOutputMaps, DimsHW kernelSize,
^~~~~~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:174:66: warning: 'virtual nvinfer1::IDeconvolutionLayer* nvinfer1::INetworkDefinition::addDeconvolution(nvinfer1::ITensor&, int, nvinfer1::DimsHW, nvinfer1::Weights, nvinfer1::Weights)' is deprecated [-Wdeprecated-declarations]
(weight_map)[layer_param.name().c_str()][0], bias_weight);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5039:49: note: declared here
TRT_DEPRECATED virtual IDeconvolutionLayer addDeconvolution(ITensor& input, int nbOutputMaps, DimsHW kernelSize,
^~~~~~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:176:74: warning: 'virtual void nvinfer1::IDeconvolutionLayer::setStride(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
deconvLayer->setStride(nvinfer1::DimsHW{param.stride_h, param.stride_w});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:2286:33: note: declared here
TRT_DEPRECATED virtual void setStride(DimsHW stride) TRTNOEXCEPT = 0;
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:177:77: warning: 'virtual void nvinfer1::IDeconvolutionLayer::setPadding(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
deconvLayer->setPadding(nvinfer1::DimsHW{param.padding_h, param.padding_w});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:2312:33: note: declared here
TRT_DEPRECATED virtual void setPadding(DimsHW padding) TRTNOEXCEPT = 0;
^~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addActiveLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, int, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:203:29: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations]
nvinfer1::IPluginLayer ReLU_Layer =
^~~~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:204:54: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor* const*, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations]
net->addPlugin(inputs, nbInputs, relu_plugin);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here
TRT_DEPRECATED virtual IPluginLayer addPlugin(
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addPoolingLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:276:77: warning: 'virtual nvinfer1::IPoolingLayer* nvinfer1::INetworkDefinition::addPooling(nvinfer1::ITensor&, nvinfer1::PoolingType, nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
{static_cast(pool.kernel_h()), static_cast(pool.kernel_w())});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:4956:43: note: declared here
TRT_DEPRECATED virtual IPoolingLayer* addPooling(
^~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:278:75: warning: 'virtual void nvinfer1::IPoolingLayer::setStride(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
static_cast(pool.stride_w())});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:1736:33: note: declared here
TRT_DEPRECATED virtual void setStride(DimsHW stride) TRTNOEXCEPT = 0;
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:280:73: warning: 'virtual void nvinfer1::IPoolingLayer::setPadding(nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
static_cast(pool.pad_w())});
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:1758:33: note: declared here
TRT_DEPRECATED virtual void setPadding(DimsHW padding) TRTNOEXCEPT = 0;
^~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addSliceLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, int, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:297:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations]
nvinfer1::IPluginLayer sliceLayer =
^~~~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:298:53: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor* const*, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations]
net->addPlugin(inputs, nbInputs, slice_plugin);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here
TRT_DEPRECATED virtual IPluginLayer addPlugin(
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addSoftmaxLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, int, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:379:29: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations]
nvinfer1::IPluginLayer softmaxLayer =
^~~~~~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:380:57: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor* const*, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations]
net->addPlugin(inputs, nbInputs, softmax_plugin);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here
TRT_DEPRECATED virtual IPluginLayer addPlugin(
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addArgmaxLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, int, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:417:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations]
nvinfer1::IPluginLayer argmaxLayer =
^~~~~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:418:54: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor* const*, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations]
net->addPlugin(inputs, nbInputs, argmax_plugin);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here
TRT_DEPRECATED virtual IPluginLayer addPlugin(
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addReshapeLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:451:21: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsCHW dims;
^~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addPaddingLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:471:54: warning: 'virtual nvinfer1::IPaddingLayer* nvinfer1::INetworkDefinition::addPadding(nvinfer1::ITensor&, nvinfer1::DimsHW, nvinfer1::DimsHW)' is deprecated [-Wdeprecated-declarations]
net->addPadding(inputs[0], pre_dims, post_dims);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5173:43: note: declared here
TRT_DEPRECATED virtual IPaddingLayer addPadding(
^~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addDFMBPSROIAlignLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, int, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:490:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations]
nvinfer1::IPluginLayer dfmb_psroi_align_layer =
^~~~~~~~~~~~~~~~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:491:64: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor* const*, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations]
net->addPlugin(inputs, nbInputs, dfmb_psroi_align_plugin);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here
TRT_DEPRECATED virtual IPluginLayer addPlugin(
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addRCNNProposalLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, int, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:512:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations]
nvinfer1::IPluginLayer rcnn_proposal_layer =
^~~~~~~~~~~~~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:513:61: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor* const*, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations]
net->addPlugin(inputs, nbInputs, rcnn_proposal_plugin);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here
TRT_DEPRECATED virtual IPluginLayer addPlugin(
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::addRPNProposalSSDLayer(const apollo::perception::inference::LayerParameter&, nvinfer1::ITensor* const*, int, nvinfer1::INetworkDefinition*, apollo::perception::inference::TensorMap*, apollo::perception::inference::TensorModifyMap*)':
modules/perception/inference/tensorrt/rt_net.cc:534:27: warning: 'IPluginLayer' is deprecated [-Wdeprecated-declarations]
nvinfer1::IPluginLayer rpn_proposal_ssd_layer =
^~~~~~~~~~~~~~~~~~~~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:3373:22: note: declared here
class TRT_DEPRECATED IPluginLayer : public ILayer
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:535:64: warning: 'virtual nvinfer1::IPluginLayer nvinfer1::INetworkDefinition::addPlugin(nvinfer1::ITensor* const*, int, nvinfer1::IPlugin&)' is deprecated [-Wdeprecated-declarations]
net->addPlugin(inputs, nbInputs, rpn_proposal_ssd_plugin);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:5142:42: note: declared here
TRT_DEPRECATED virtual IPluginLayer addPlugin(
^~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'bool apollo::perception::inference::RTNet::shape(const string&, std::vector)':
modules/perception/inference/tensorrt/rt_net.cc:727:21: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>(
^~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:727:58: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>(
^~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'void apollo::perception::inference::RTNet::init_blob(std::vector<std::__cxx11::basic_string >)':
modules/perception/inference/tensorrt/rt_net.cc:744:23: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>(
^~~~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:744:60: warning: 'DimsCHW' is deprecated [-Wdeprecated-declarations]
nvinfer1::DimsCHW dims = static_cast<nvinfer1::DimsCHW &&>(
^~
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:206:22: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
modules/perception/inference/tensorrt/rt_net.cc: In member function 'virtual bool apollo::perception::inference::RTNet::Init(const std::map<std::cxx11::basic_string, std::vector >&)':
modules/perception/inference/tensorrt/rt_net.cc:767:38: warning: 'virtual nvinfer1::INetworkDefinition* nvinfer1::IBuilder::createNetwork()' is deprecated [-Wdeprecated-declarations]
network = builder->createNetwork();
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:6799:58: note: declared here
TRT_DEPRECATED virtual nvinfer1::INetworkDefinition* createNetwork() TRTNOEXCEPT = 0;
^~~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:772:47: warning: 'virtual void nvinfer1::IBuilder::setMaxWorkspaceSize(std::size_t)' is deprecated [-Wdeprecated-declarations]
builder->setMaxWorkspaceSize(workspaceSize);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:6830:33: note: declared here
TRT_DEPRECATED virtual void setMaxWorkspaceSize(std::size_t workspaceSize) TRTNOEXCEPT = 0;
^~~~~~~~~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:777:34: warning: 'virtual void nvinfer1::IBuilder::setInt8Mode(bool)' is deprecated [-Wdeprecated-declarations]
builder->setInt8Mode(int8_mode);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:6963:33: note: declared here
TRT_DEPRECATED virtual void setInt8Mode(bool mode) TRTNOEXCEPT = 0;
^~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:778:42: warning: 'virtual void nvinfer1::IBuilder::setInt8Calibrator(nvinfer1::IInt8Calibrator*)' is deprecated [-Wdeprecated-declarations]
builder->setInt8Calibrator(calibrator);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:6979:33: note: declared here
TRT_DEPRECATED virtual void setInt8Calibrator(IInt8Calibrator* calibrator) TRTNOEXCEPT = 0;
^~~~~~~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:780:30: warning: 'virtual void nvinfer1::IBuilder::setDebugSync(bool)' is deprecated [-Wdeprecated-declarations]
builder->setDebugSync(true);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:6874:33: note: declared here
TRT_DEPRECATED virtual void setDebugSync(bool sync) TRTNOEXCEPT = 0;
^~~~~~~~~~~~
modules/perception/inference/tensorrt/rt_net.cc:782:70: warning: 'virtual nvinfer1::ICudaEngine* nvinfer1::IBuilder::buildCudaEngine(nvinfer1::INetworkDefinition&)' is deprecated [-Wdeprecated-declarations]
nvinfer1::ICudaEngine *engine = builder->buildCudaEngine(*network);
^
In file included from ./modules/perception/inference/tensorrt/entropy_calibrator.h:22:0,
from ./modules/perception/inference/tensorrt/rt_net.h:27,
from modules/perception/inference/tensorrt/rt_net.cc:17:
/usr/include/aarch64-linux-gnu/NvInfer.h:6934:51: note: declared here
TRT_DEPRECATED virtual nvinfer1::ICudaEngine* buildCudaEngine(
^~~~~~~~~~~~~~~
(02:57:21) INFO: From Compiling modules/perception/inference/tensorrt/rt_utils.cc:
modules/perception/inference/tensorrt/rt_utils.cc: In function 'bool apollo::perception::inference::ReadProtoFromBinaryFile(const string&, google::protobuf::Message*)':
modules/perception/inference/tensorrt/rt_utils.cc:53:76: warning: 'void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int, int)' is deprecated: Please use the single parameter version of SetTotalBytesLimit(). The second parameter is ignored. [-Wdeprecated-declarations]
coded_input.SetTotalBytesLimit(std::numeric_limits::max(), 536870912);
^
In file included from external/com_google_protobuf/src/google/protobuf/message_lite.h:47:0,
from external/com_google_protobuf/src/google/protobuf/generated_enum_util.h:36,
from external/com_google_protobuf/src/google/protobuf/generated_enum_reflection.h:44,
from external/com_google_protobuf/src/google/protobuf/generated_message_reflection.h:46,
from external/com_google_protobuf/src/google/protobuf/message.h:122,
from external/com_google_protobuf/src/google/protobuf/text_format.h:48,
from ./modules/perception/inference/tensorrt/rt_utils.h:21,
from modules/perception/inference/tensorrt/rt_utils.cc:17:
external/com_google_protobuf/src/google/protobuf/io/coded_stream.h:397:8: note: declared here
void SetTotalBytesLimit(int total_bytes_limit, int) {
^~~~~~~~~~~~~~~~~~
(02:58:02) ERROR: /apollo/modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector/BUILD:6:11: C++ compilation of rule '//modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector:spatio_temporal_ground_detector' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF ... (remaining 151 argument(s) skipped)
aarch64-linux-gnu-gcc-7: error: unrecognized command line option '-msse4.1'
(02:58:03) INFO: Elapsed time: 1192.312s, Critical Path: 163.84s
(02:58:03) INFO: 6398 processes: 5298 internal, 1100 local.
(02:58:03) FAILED: Build did NOT complete successfully
root@in-dev-docker:/apollo#
`

`
In file included from ./modules/drivers/camera/usb_cam.h:50:0,
from modules/drivers/camera/usb_cam.cc:44:
external/ffmpeg/libavcodec/avcodec.h:3739:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
modules/drivers/camera/usb_cam.cc: In member function 'void apollo::drivers::camera::UsbCam::mjpeg2rgb(char*, int, char*, int)':
modules/drivers/camera/usb_cam.cc:175:59: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
&got_picture, &avpkt);
^
In file included from ./modules/drivers/camera/usb_cam.h:50:0,
from modules/drivers/camera/usb_cam.cc:44:
external/ffmpeg/libavcodec/avcodec.h:3073:5: note: declared here
int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture,
^~~~~~~~~~~~~~~~~~~~~
modules/drivers/camera/usb_cam.cc:193:76: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
int pic_size = avpicture_get_size(avcodec_context_->pix_fmt, xsize, ysize);
^
In file included from ./modules/drivers/camera/usb_cam.h:50:0,
from modules/drivers/camera/usb_cam.cc:44:
external/ffmpeg/libavcodec/avcodec.h:3739:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
modules/drivers/camera/usb_cam.cc:217:71: warning: 'int avpicture_layout(const AVPicture, AVPixelFormat, int, int, unsigned char, int)' is deprecated [-Wdeprecated-declarations]
ysize, reinterpret_cast<uint8_t*>(rgb_buffer), avframe_rgb_size_);
^
In file included from ./modules/drivers/camera/usb_cam.h:50:0,
from modules/drivers/camera/usb_cam.cc:44:
external/ffmpeg/libavcodec/avcodec.h:3731:5: note: declared here
int avpicture_layout(const AVPicture src, enum AVPixelFormat pix_fmt,
^~~~~~~~~~~~~~~~
(07:11:04) ERROR: /apollo/modules/perception/common/i_lib/pc/BUILD:6:11: C++ compilation of rule '//modules/perception/common/i_lib/pc:i_ground' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/aarch64-fastbuild/bin/modules/perception/common/i_lib/pc/_objs/i_ground/i_ground.pic.d ... (remaining 89 argument(s) skipped)
In file included from ./modules/perception/common/i_lib/pc/i_ground.h:24:0,
from modules/perception/common/i_lib/pc/i_ground.cc:16:
./modules/perception/common/i_lib/pc/i_struct_s.h: In member function 'bool apollo::perception::common::VoxelGridXY::SetS(const float, unsigned int, unsigned int)':
./modules/perception/common/i_lib/pc/i_struct_s.h:732:3: error: '__m128i' was not declared in this scope
__m128i iv_nr_voxel_x = mm_setr_epi32(static_cast(nr_voxel_x), 0,
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:732:3: note: suggested alternative: '__f128'
__m128i iv_nr_voxel_x = mm_setr_epi32(static_cast(nr_voxel_x), 0,
^~~~~~~
__f128
./modules/perception/common/i_lib/pc/i_struct_s.h:734:11: error: expected ';' before 'iv_nr_voxel_x_m1'
__m128i iv_nr_voxel_x_m1 = mm_set1_epi32(static_cast(nr_voxel_x - 1));
^~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:735:11: error: expected ';' before 'iv_nr_voxel_y_m1'
__m128i iv_nr_voxel_y_m1 = mm_set1_epi32(static_cast(nr_voxel_y - 1));
^~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:737:3: error: '__m128' was not declared in this scope
__m128 v_width_x_rec = _mm_set_ps1(voxel_width_x_rec);
^~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:737:3: note: suggested alternative: '__f128'
__m128 v_width_x_rec = _mm_set_ps1(voxel_width_x_rec);
^~~~~~
__f128
./modules/perception/common/i_lib/pc/i_struct_s.h:738:10: error: expected ';' before 'v_width_y_rec'
__m128 v_width_y_rec = _mm_set_ps1(voxel_width_y_rec);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:740:10: error: expected ';' before 'v_x_min'
__m128 v_x_min = mm_set_ps1(dim_x[0]);
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:741:10: error: expected ';' before 'v_x_max'
__m128 v_x_max = mm_set_ps1(dim_x[1]);
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:742:10: error: expected ';' before 'v_y_min'
__m128 v_y_min = mm_set_ps1(dim_y[0]);
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:743:10: error: expected ';' before 'v_y_max'
__m128 v_y_max = mm_set_ps1(dim_y[1]);
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:744:10: error: expected ';' before 'v_z_min'
__m128 v_z_min = mm_set_ps1(dim_z[0]);
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:745:10: error: expected ';' before 'v_z_max'
__m128 v_z_max = mm_set_ps1(dim_z[1]);
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:747:10: error: expected ';' before 'v_cmp_x'
__m128 v_cmp_x, v_cmp_y, v_cmp_z, v_in_roi;
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:3: error: 'v_in_roi' was not declared in this scope
v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
^~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:3: note: suggested alternative: 'vmin_f16'
v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
^~~~~~~~
vmin_f16
./modules/perception/common/i_lib/pc/i_struct_s.h:748:14: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive]
v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
^~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:14: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./modules/perception/common/i_lib/pc/i_struct_s.h:750:10: error: expected ';' before 'v_xs'
__m128 v_xs, v_ys, v_zs;
^~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:751:11: error: expected ';' before 'iv_indices'
__m128i iv_indices, iv_x_indices, iv_y_indices, iv_v_indices_02,
^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:775:5: error: 'v_xs' was not declared in this scope
v_xs = _mm_setr_ps(cptr_x[0], cptr_x[d1], cptr_x[d2], cptr_x[d3]);
^~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:775:12: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive]
v_xs = _mm_setr_ps(cptr_x[0], cptr_x[d1], cptr_x[d2], cptr_x[d3]);
^~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:776:5: error: 'v_ys' was not declared in this scope
v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]);
^~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:776:5: note: suggested alternative: '__yn'
v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]);
^~~~
__yn
./modules/perception/common/i_lib/pc/i_struct_s.h:776:12: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive]
v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]);
^~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:777:5: error: 'v_zs' was not declared in this scope
v_zs = _mm_setr_ps(cptr_z[0], cptr_z[d1], cptr_z[d2], cptr_z[d3]);
^~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:777:12: error: there are no arguments to '_mm_setr_ps' that depend on a template parameter, so a declaration of '_mm_setr_ps' must be available [-fpermissive]
v_zs = _mm_setr_ps(cptr_z[0], cptr_z[d1], cptr_z[d2], cptr_z[d3]);
^~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:780:5: error: 'v_cmp_x' was not declared in this scope
v_cmp_x =
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:39: error: 'v_x_min' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:39: note: suggested alternative: '__fmin'
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~
__fmin
./modules/perception/common/i_lib/pc/i_struct_s.h:781:20: error: there are no arguments to '_mm_cmpge_ps' that depend on a template parameter, so a declaration of '_mm_cmpge_ps' must be available [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:68: error: 'v_x_max' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:68: note: suggested alternative: '__fmax'
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~
__fmax
./modules/perception/common/i_lib/pc/i_struct_s.h:781:49: error: there are no arguments to '_mm_cmple_ps' that depend on a template parameter, so a declaration of '_mm_cmple_ps' must be available [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:782:5: error: 'v_cmp_y' was not declared in this scope
v_cmp_y =
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:783:39: error: 'v_y_min' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:783:39: note: suggested alternative: '__fmin'
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^~~~~~~
__fmin
./modules/perception/common/i_lib/pc/i_struct_s.h:783:20: error: there are no arguments to '_mm_cmpge_ps' that depend on a template parameter, so a declaration of '_mm_cmpge_ps' must be available [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:783:68: error: 'v_y_max' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:783:68: note: suggested alternative: '__fmax'
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^~~~~~~
__fmax
./modules/perception/common/i_lib/pc/i_struct_s.h:783:49: error: there are no arguments to '_mm_cmple_ps' that depend on a template parameter, so a declaration of '_mm_cmple_ps' must be available [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:784:5: error: 'v_cmp_z' was not declared in this scope
v_cmp_z =
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:785:39: error: 'v_z_min' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:785:39: note: suggested alternative: '__fmin'
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^~~~~~~
__fmin
./modules/perception/common/i_lib/pc/i_struct_s.h:785:20: error: there are no arguments to '_mm_cmpge_ps' that depend on a template parameter, so a declaration of '_mm_cmpge_ps' must be available [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:785:68: error: 'v_z_max' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:785:68: note: suggested alternative: '__fmax'
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^~~~~~~
__fmax
./modules/perception/common/i_lib/pc/i_struct_s.h:785:49: error: there are no arguments to '_mm_cmple_ps' that depend on a template parameter, so a declaration of '_mm_cmple_ps' must be available [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:786:27: error: there are no arguments to '_mm_and_ps' that depend on a template parameter, so a declaration of '_mm_and_ps' must be available [-fpermissive]
v_in_roi = _mm_and_ps(_mm_and_ps(v_cmp_x, v_cmp_y), v_cmp_z);
^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:789:12: error: there are no arguments to '_mm_sub_ps' that depend on a template parameter, so a declaration of '_mm_sub_ps' must be available [-fpermissive]
v_xs = _mm_sub_ps(v_xs, v_x_min);
^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:790:29: error: 'v_width_x_rec' was not declared in this scope
v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:790:29: note: suggested alternative: 'voxel_width_x_rec'
v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
^~~~~~~~~~~~~
voxel_width_x_rec
./modules/perception/common/i_lib/pc/i_struct_s.h:790:12: error: there are no arguments to '_mm_mul_ps' that depend on a template parameter, so a declaration of '_mm_mul_ps' must be available [-fpermissive]
v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:791:5: error: 'iv_x_indices' was not declared in this scope
iv_x_indices = _mm_cvttps_epi32(v_xs);  // truncate towards zero
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:791:20: error: there are no arguments to '_mm_cvttps_epi32' that depend on a template parameter, so a declaration of '_mm_cvttps_epi32' must be available [-fpermissive]
iv_x_indices = _mm_cvttps_epi32(v_xs);  // truncate towards zero
^~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:792:34: error: 'iv_nr_voxel_x_m1' was not declared in this scope
iv_x_indices = mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices);
^~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:792:34: note: suggested alternative: 'nr_voxel_x'
iv_x_indices = mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices);
^~~~~~~~~~~~~~~~
nr_voxel_x
./modules/perception/common/i_lib/pc/i_struct_s.h:792:20: error: there are no arguments to '_mm_min_epi32' that depend on a template parameter, so a declaration of '_mm_min_epi32' must be available [-fpermissive]
iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:795:12: error: there are no arguments to '_mm_sub_ps' that depend on a template parameter, so a declaration of '_mm_sub_ps' must be available [-fpermissive]
v_ys = _mm_sub_ps(v_ys, v_y_min);
^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:796:29: error: 'v_width_y_rec' was not declared in this scope
v_ys = _mm_mul_ps(v_ys, v_width_y_rec);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:796:29: note: suggested alternative: 'voxel_width_y_rec'
v_ys = _mm_mul_ps(v_ys, v_width_y_rec);
^~~~~~~~~~~~~
voxel_width_y_rec
./modules/perception/common/i_lib/pc/i_struct_s.h:796:12: error: there are no arguments to '_mm_mul_ps' that depend on a template parameter, so a declaration of '_mm_mul_ps' must be available [-fpermissive]
v_ys = _mm_mul_ps(v_ys, v_width_y_rec);
^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:797:5: error: 'iv_y_indices' was not declared in this scope
iv_y_indices = _mm_cvttps_epi32(v_ys);  // truncate towards zero
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:797:20: error: there are no arguments to '_mm_cvttps_epi32' that depend on a template parameter, so a declaration of '_mm_cvttps_epi32' must be available [-fpermissive]
iv_y_indices = _mm_cvttps_epi32(v_ys);  // truncate towards zero
^~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:798:34: error: 'iv_nr_voxel_y_m1' was not declared in this scope
iv_y_indices = mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices);
^~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:798:34: note: suggested alternative: 'nr_voxel_y'
iv_y_indices = mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices);
^~~~~~~~~~~~~~~~
nr_voxel_y
./modules/perception/common/i_lib/pc/i_struct_s.h:798:20: error: there are no arguments to '_mm_min_epi32' that depend on a template parameter, so a declaration of '_mm_min_epi32' must be available [-fpermissive]
iv_y_indices = _mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:800:5: error: 'iv_v_indices_02' was not declared in this scope
iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:800:53: error: 'iv_nr_voxel_x' was not declared in this scope
iv_v_indices_02 = mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:800:53: note: suggested alternative: 'nr_voxel_x'
iv_v_indices_02 = mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^~~~~~~~~~~~~
nr_voxel_x
./modules/perception/common/i_lib/pc/i_struct_s.h:800:23: error: there are no arguments to '_mm_mullo_epi32' that depend on a template parameter, so a declaration of '_mm_mullo_epi32' must be available [-fpermissive]
iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:801:52: error: there are no arguments to '_MM_SHUFFLE' that depend on a template parameter, so a declaration of '_MM_SHUFFLE' must be available [-fpermissive]
iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
^~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:803:5: error: 'iv_v_indices_13' was not declared in this scope
iv_v_indices_13 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:803:23: error: there are no arguments to '_mm_mullo_epi32' that depend on a template parameter, so a declaration of '_mm_mullo_epi32' must be available [-fpermissive]
iv_v_indices_13 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:805:44: error: there are no arguments to '_MM_SHUFFLE' that depend on a template parameter, so a declaration of '_MM_SHUFFLE' must be available [-fpermissive]
_mm_shuffle_epi32(iv_v_indices_13, _MM_SHUFFLE(2, 3, 0, 1));
^~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:807:5: error: 'iv_indices' was not declared in this scope
iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13);
^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:807:18: error: there are no arguments to '_mm_add_epi32' that depend on a template parameter, so a declaration of '_mm_add_epi32' must be available [-fpermissive]
iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:808:18: error: there are no arguments to '_mm_add_epi32' that depend on a template parameter, so a declaration of '_mm_add_epi32' must be available [-fpermissive]
iv_indices = _mm_add_epi32(iv_indices, iv_x_indices);
^~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:812:5: error: there are no arguments to '_mm_store_ps' that depend on a template parameter, so a declaration of '_mm_store_ps' must be available [-fpermissive]
mm_store_ps(mem_aligned16_f32, v_in_roi);
^~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:814:38: error: '__m128i' does not name a type; did you mean '__f128'?
_mm_store_si128(reinterpret_cast<_m128i *>(mem_aligned16_i32),
^~~~~~~
__f128
./modules/perception/common/i_lib/pc/i_struct_s.h:814:46: error: expected '>' before '' token
_mm_store_si128(reinterpret_cast<_m128i *>(mem_aligned16_i32),
^
./modules/perception/common/i_lib/pc/i_struct_s.h:814:46: error: expected '(' before '' token
./modules/perception/common/i_lib/pc/i_struct_s.h:814:47: error: expected primary-expression before '>' token
_mm_store_si128(reinterpret_cast<_m128i *>(mem_aligned16_i32),
^
./modules/perception/common/i_lib/pc/i_struct_s.h: In instantiation of 'bool apollo::perception::common::VoxelGridXY::SetS(const float*, unsigned int, unsigned int) [with T = float]':
modules/perception/common/i_lib/pc/i_ground.cc:1244:64:   required from here
./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: error: '_mm_setr_ps' was not declared in this scope
v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
~^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:775:23: error: '_mm_setr_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
v_xs = _mm_setr_ps(cptr_x[0], cptr_x[d1], cptr_x[d2], cptr_x[d3]);
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: note: '_mm_setr_ps' declared here, later in the translation unit
v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
~^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:776:23: error: '_mm_setr_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
v_ys = _mm_setr_ps(cptr_y[0], cptr_y[d1], cptr_y[d2], cptr_y[d3]);
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: note: '_mm_setr_ps' declared here, later in the translation unit
v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
~^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:777:23: error: '_mm_setr_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
v_zs = _mm_setr_ps(cptr_z[0], cptr_z[d1], cptr_z[d2], cptr_z[d3]);
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:748:25: note: '_mm_setr_ps' declared here, later in the translation unit
v_in_roi = _mm_setr_ps(1.0, 1.0, 1.0, 1.0);
~^~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:46: error: '_mm_cmpge_ps' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:75: error: '_mm_cmple_ps' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: error: '_mm_and_ps' was not declared in this scope
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:783:46: error: '_mm_cmpge_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:46: note: '_mm_cmpge_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:783:75: error: '_mm_cmple_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:75: note: '_mm_cmple_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:783:19: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_ys, v_y_min), _mm_cmple_ps(v_ys, v_y_max));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:785:46: error: '_mm_cmpge_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:46: note: '_mm_cmpge_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:785:75: error: '_mm_cmple_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:781:75: note: '_mm_cmple_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^
./modules/perception/common/i_lib/pc/i_struct_s.h:785:19: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_and_ps(_mm_cmpge_ps(v_zs, v_z_min), _mm_cmple_ps(v_zs, v_z_max));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:786:37: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
v_in_roi = _mm_and_ps(_mm_and_ps(v_cmp_x, v_cmp_y), v_cmp_z);
^~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:786:26: error: '_mm_and_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
v_in_roi = _mm_and_ps(_mm_and_ps(v_cmp_x, v_cmp_y), v_cmp_z);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:781:19: note: '_mm_and_ps' declared here, later in the translation unit
_mm_and_ps(_mm_cmpge_ps(v_xs, v_x_min), _mm_cmple_ps(v_xs, v_x_max));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:789:22: error: '_mm_sub_ps' was not declared in this scope
v_xs = _mm_sub_ps(v_xs, v_x_min);
^~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:790:42: error: '_mm_mul_ps' was not declared in this scope
v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
^
./modules/perception/common/i_lib/pc/i_struct_s.h:790:42: note: suggested alternative: 'vmul_p8'
v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
^
vmul_p8
./modules/perception/common/i_lib/pc/i_struct_s.h:791:36: error: '_mm_cvttps_epi32' was not declared in this scope
iv_x_indices = _mm_cvttps_epi32(v_xs);  // truncate towards zero
^~
./modules/perception/common/i_lib/pc/i_struct_s.h:792:33: error: '_mm_min_epi32' was not declared in this scope
iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices);
~^~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:795:22: error: '_mm_sub_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
v_ys = _mm_sub_ps(v_ys, v_y_min);
^~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:789:22: note: '_mm_sub_ps' declared here, later in the translation unit
v_xs = _mm_sub_ps(v_xs, v_x_min);
^~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:796:42: error: '_mm_mul_ps' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
v_ys = _mm_mul_ps(v_ys, v_width_y_rec);
^
./modules/perception/common/i_lib/pc/i_struct_s.h:790:42: note: '_mm_mul_ps' declared here, later in the translation unit
v_xs = _mm_mul_ps(v_xs, v_width_x_rec);
^
./modules/perception/common/i_lib/pc/i_struct_s.h:797:36: error: '_mm_cvttps_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
iv_y_indices = _mm_cvttps_epi32(v_ys);  // truncate towards zero
^~
./modules/perception/common/i_lib/pc/i_struct_s.h:791:36: note: '_mm_cvttps_epi32' declared here, later in the translation unit
iv_x_indices = _mm_cvttps_epi32(v_xs);  // truncate towards zero
^~
./modules/perception/common/i_lib/pc/i_struct_s.h:798:33: error: '_mm_min_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
iv_y_indices = _mm_min_epi32(iv_nr_voxel_y_m1, iv_y_indices);
~^~
./modules/perception/common/i_lib/pc/i_struct_s.h:792:33: note: '_mm_min_epi32' declared here, later in the translation unit
iv_x_indices = _mm_min_epi32(iv_nr_voxel_x_m1, iv_x_indices);
~^~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:800:66: error: '_mm_mullo_epi32' was not declared in this scope
iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^
./modules/perception/common/i_lib/pc/i_struct_s.h:801:63: error: '_MM_SHUFFLE' was not declared in this scope
iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
~^~
./modules/perception/common/i_lib/pc/i_struct_s.h:801:37: error: '_mm_shuffle_epi32' was not declared in this scope
iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
~^~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:803:38: error: '_mm_mullo_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
iv_v_indices_13 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
~^~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:800:66: note: '_mm_mullo_epi32' declared here, later in the translation unit
iv_v_indices_02 = _mm_mullo_epi32(iv_y_indices, iv_nr_voxel_x);
^
./modules/perception/common/i_lib/pc/i_struct_s.h:805:55: error: '_MM_SHUFFLE' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_shuffle_epi32(iv_v_indices_13, _MM_SHUFFLE(2, 3, 0, 1));
~^~
./modules/perception/common/i_lib/pc/i_struct_s.h:801:63: note: '_MM_SHUFFLE' declared here, later in the translation unit
iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
~^~
./modules/perception/common/i_lib/pc/i_struct_s.h:805:26: error: '_mm_shuffle_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
_mm_shuffle_epi32(iv_v_indices_13, _MM_SHUFFLE(2, 3, 0, 1));
~^~~~~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:801:37: note: '_mm_shuffle_epi32' declared here, later in the translation unit
iv_y_indices = _mm_shuffle_epi32(iv_y_indices, _MM_SHUFFLE(2, 3, 0, 1));
~^~~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:807:31: error: '_mm_add_epi32' was not declared in this scope
iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13);
~^~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:808:31: error: '_mm_add_epi32' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
iv_indices = _mm_add_epi32(iv_indices, iv_x_indices);
~^~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:807:31: note: '_mm_add_epi32' declared here, later in the translation unit
iv_indices = _mm_add_epi32(iv_v_indices_02, iv_v_indices_13);
~^~~~~~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:812:17: error: '_mm_store_ps' was not declared in this scope
mm_store_ps(mem_aligned16_f32, v_in_roi);
^~~~~~~~~~~~~~~~~~
./modules/perception/common/i_lib/pc/i_struct_s.h:812:17: note: suggested alternative: '__mbstate_t'
mm_store_ps(mem_aligned16_f32, v_in_roi);
^~~~~~~~~~~~~~~~~~
__mbstate_t
(07:11:05) INFO: Elapsed time: 1938.840s, Critical Path: 134.66s
(07:11:05) INFO: 4262 processes: 2052 internal, 2210 local.
(07:11:05) FAILED: Build did NOT complete successfully
root@in-dev-docker:/apollo#
`
@daohu527

main question
The main question is below function need sse support on x86. Arm also has a SIMD (single instruction multiple data) architecture call arm_neon, We need to port to cross platform.
https://github.com/ApolloAuto/apollo/blob/266afbf68d83fa6fac7a812ff8a950223f5ab2c0/modules/perception/common/i_lib/pc/i_struct_s.h#L712-L714
solution

eigen is cross platform we can find some way to use eigen to rewrite function SetS
use arm_neon to rewrite function SetS ref
sse2neon already do the job.

So, I should give up 。
还是非常感谢你的热心解答 ， 比心

sorry, Apollo only support X86 platform now.

sorry, Apollo only support X86 platform now.

but I see https://github.com/ApolloAuto/apollo/blob/master/apollo.sh#L8
SUPPORTED_ARCHS=" x86_64 aarch64 "

msse4.1 is support by x86 only. We need to look at the compile options on arm

or how can I exclude modules/perception from build as a temporary solution? I only need cyber related now.

cyber is already support arm, and you can have a try.


Wake up service through Alarm Manager

First of all thank you so much for your effort to implement android AlarmManager to Kivy. This is the only real example you can find on internet. Unfortunately i know nothing about java. I just need to wake up my app's service every hour through alarm manager when my app is not running because the service is always being killed by android system after a while even i tried sticky service. I just don't know how to trigger it every hour with this example. Is it possible? how?  Thanks in advance.

I did it. Edited the Notify.java file, added an intent to start my service.


DELETE /api/ui/approute/step missing

To change existing routes DELETE /api/ui/approute/step is needed.

New api was implemented in the feature branch: Routenhandling


New and updated schemas

@vkuznet: schema.json files are generated from an excel file using the python script in GenerateSchema. New schemas have been generated for ID1A3, ID3A, ID4B, and lite.

@wernersun , in a future please try to squash your commits (google about it) in single PR as it will produce single message which will be easier to understand and trace.


Suggestion for UX timeout behavior

Take the following example:
{
  Local {
    Get {
      Things {
        Place(where: {
            path: ["name"],
            operator: Equal,
            valueString: "Shell"
        }) {
          name
          InCity {
            ... on City {
              name
            }
          }
        }
      }
    }
  }
}

On a large graph with many places, this is going to timeout. Which is understandable. But the UX is not very nice.
{
  "data": {
    "Local": {
      "Get": {
        "Things": {
          "Place": null
        }
      }
    }
  },
  "errors": [
    {
      "locations": [
        {
          "column": 9,
          "line": 5
        }
      ],
      "message": "Janusgraph.LocalGetClass: &errors.errorString{s:\"could not process fetch query: executing the query failed: server error: {\\\"message\\\":\\\"Script evaluation exceeded the configured 'scriptEvaluationTimeout' threshold of 30000 ms or evaluation was otherwise cancelled directly for request [g.V().has(\\\\\\\"kind\\\\\\\", \\\\\\\"thing\\\\\\\").has(\\\\\\\"classId\\\\\\\", \\\\\\\"class_3\\\\\\\").union(has(\\\\\\\"prop_f\\\\\\\", eq(\\\\\\\"Shell qqqq\\\\\\\"))).union(optional(outE(\\\\\\\"prop_1f\\\\\\\").inV().has(\\\\\\\"classId\\\\\\\", \\\\\\\"class_2\\\\\\\"))).limit(100).path().by(valueMap())]\\\",\\\"Exception-Class\\\":\\\"java.util.concurrent.TimeoutException\\\",\\\"exceptions\\\":[\\\"java.util.concurrent.TimeoutException\\\"],\\\"stackTrace\\\":\\\"java.util.concurrent.TimeoutException: Script evaluation exceeded the configured 'scriptEvaluationTimeout' threshold of 30000 ms or evaluation was otherwise cancelled directly for request [g.V().has(\\\\\\\"kind\\\\\\\", \\\\\\\"thing\\\\\\\").has(\\\\\\\"classId\\\\\\\", \\\\\\\"class_3\\\\\\\").union(has(\\\\\\\"prop_f\\\\\\\", eq(\\\\\\\"Shell qqqq\\\\\\\"))).union(optional(outE(\\\\\\\"prop_1f\\\\\\\").inV().has(\\\\\\\"classId\\\\\\\", \\\\\\\"class_2\\\\\\\"))).limit(100).path().by(valueMap())]\\\\n\\\\tat org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$1(GremlinExecutor.java:310)\\\\n\\\\tat io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)\\\\n\\\\tat io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:120)\\\\n\\\\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:399)\\\\n\\\\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:464)\\\\n\\\\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131)\\\\n\\\\tat java.lang.Thread.run(Thread.java:748)\\\\n\\\"}\"}",
      "path": [
        "Local",
        "Get",
        "Things",
        "Place"
      ]
    }
  ]
}

Proposed Solution
Can we do the following things to avoid the bad user experience;

Have people set a manual timeOut in seconds (see below)?
If a timeout occurs, send out the results it has found combined with an informative error message with suggestions. For example;

{
    "data": {
        "Local": {
            "Get": {
                "Things": {
                    "Place": [
                        {
                            "InCity": [
                                {
                                    "name": "Berlin"
                                }
                            ],
                            "name": "Shell"
                        },
                        {
                            "InCity": [
                                {
                                    "name": "Langenselbold"
                                }
                            ],
                            "name": "Shell"
                        }
                    ]
                }
            }
        }
    },
    "errors": [
        {
            "locations": [
                {
                    "column": 9,
                    "line": 5
                }
            ],
            "message": "We have been unable to fulfill the complete request, we are showing what we have found. Maybe your query was to large, or there are no results in the Graph. Try to limit, increase the timeout or more accureatly pinpoint your query. You can also use our Spark integration",
            "path": [
                "Local",
                "Get",
                "Things",
                "Place"
            ]
        }
    ]
}

Timeout suggestion:
{
  Local {
    Get {
      Things {
        Place(where: {
            path: ["name"],
            operator: Equal,
            valueString: "Shell"
        },
        timeOut: 120) { # <=== Note the example
          name
          InCity {
            ... on City {
              name
            }
          }
        }
      }
    }
  }
}

@bobvanluijt
all my answers below are specific to Janusgraph, but since that's currently our only connector, means those are the current limitations:

Have people set a manual timeOut in seconds (see below)?

I don't think this is possible at request time as Janusgraph would have to be restarted to change its configuration. I think this would only be possible if we make this a configuration option in the config.

If a timeout occurs, send out the results it has found combined with an informative error message with suggestions. For example;

I don't think we can send out any results because Janusgraph doesn't return any on a timeout. All we get back is the stack trace we see above. I might be wrong about this though, I'll double check.
As for a prettier error message and hints, I think this should be doable, we'll need a sure way to identify when an error was due to a timeout, but we can do this somehow. Worst case matching the error string for a particular regex. Maybe there's a better way (error codes, etc.)

Makes sense. Regarding the ”prettier response” remark. This would be great. It just gives a weird UX because one doesn’t know it might fail in advance. And I wouldn’t call it an error persé from a UX perspective.

Closing as this behavior was specific to Janusgraph and we haven't run into similar issues since replacing the backend.


enhancement: allow updating other fields on model during soft delete

Hi, another great plugin from your team!
In many cases when I do a soft delete, I also set an active flag to false to deactivate the model. So for example, I have an account model which contains an active and deleted_at column. If I soft delete it, I'd also like to be able to deactivate that account rather than having to always ensure that when I'm specifying the state of deleted_at when I'm doing a query that involves active.
Is this something that you could see as being valuable?
Thanks!
James

Hey @jamesdixon sorry for the delay. You could probably add a listener to the destroying event and update your model accordingly:
this.on('destroyed', (model, options) => {
   if (options.softDelete) {
      // Should update `active` now
   }
})

@jamesdixon feel free to reopen this issue :-)


Fix take op kNullOp issue

While current 'take' operator's require type is 'kNullOp', it should be skipped.

@ZihengJiang somehow relu broke the scale build

Should be fixed by https://github.com/dmlc/mxnet/pull/6001, please retest it

please resubmit PR.