Skip to content

Commit

Permalink
Add proper declspec define (#8269)
Browse files Browse the repository at this point in the history
Amend #8242 to ensure hwctx APIs are exported rather than imported.

Signed-off-by: Soren Soe <[email protected]>
  • Loading branch information
stsoe authored Jul 3, 2024
1 parent e2ba0a9 commit a43b24b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime_src/core/common/api/aie/xrt_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// core/include/experimental/xrt_graph.h -- end user APIs
// core/include/xcl_graph.h -- shim level APIs
#define XCL_DRIVER_DLL_EXPORT // exporting xrt_graph.h
#define XRT_API_SOURCE // in same dll as core_common
#define XRT_CORE_COMMON_SOURCE // in same dll as core_common
#include "core/include/xrt/xrt_graph.h"
#include "core/include/xrt/xrt_aie.h"
Expand Down

0 comments on commit a43b24b

Please sign in to comment.