[VitisAI] Resolving compilation errors when using USE_VITISAI (#19368)

### Description
<!-- Describe your changes. -->
Resolving compilation errors when using USE_VITISAI


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
There will be compilation errors when USE_VITISAI is enabled
This is in addition to the #19058

Co-authored-by: Zhenze Wang <zhenzew@xilinx.com>
This commit is contained in:
zz002 2024-02-02 15:00:50 +08:00 committed by GitHub
parent 3a2ab1963a
commit b71be3c1e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -78,6 +78,10 @@
#include "core/providers/tvm/tvm_provider_factory_creator.h"
#endif
#if defined(USE_VITISAI)
#include "core/providers/vitisai/vitisai_provider_factory_creator.h"
#endif
#if defined(USE_XNNPACK)
#include "core/providers/xnnpack/xnnpack_provider_factory_creator.h"
#endif

View file

@ -10,8 +10,6 @@
#include "./vitisai_execution_provider.h"
#include "core/framework/execution_provider.h"
#include "core/session/abi_session_options_impl.h"
using namespace onnxruntime;
namespace onnxruntime {