From 8e9216013ced6b9655359a696a5bb1bf68fdd638 Mon Sep 17 00:00:00 2001 From: Sergey <88086617+shtinsa@users.noreply.github.com> Date: Sat, 8 Apr 2023 15:48:48 +0300 Subject: [PATCH] [hexagon] Hexagon inference fix (#14533) * [hexagon] Hexagon infweerence fix 1. Resolves issue with kernels linking. 2. Fixes warning generated by clang-15. --- src/runtime/hexagon/hexagon_module.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/hexagon/hexagon_module.h b/src/runtime/hexagon/hexagon_module.h index 8fcc3445961a..96595df470e3 100644 --- a/src/runtime/hexagon/hexagon_module.h +++ b/src/runtime/hexagon/hexagon_module.h @@ -64,7 +64,8 @@ class HexagonModuleNode : public runtime::ModuleNode { const char* type_key() const final { return "hexagon"; } /*! \brief Get the property of the runtime module .*/ int GetPropertyMask() const override { - return ModulePropertyMask::kBinarySerializable | ModulePropertyMask::kRunnable; + return ModulePropertyMask::kBinarySerializable | ModulePropertyMask::kDSOExportable | + ModulePropertyMask::kRunnable; } void SaveToFile(const std::string& file_name, const std::string& format) override; void SaveToBinary(dmlc::Stream* stream) override;