Skip to content

Commit

Permalink
Removed hw_context flag dependency for edge on xrt.ini (#8372)
Browse files Browse the repository at this point in the history
Signed-off-by: bisingha <[email protected]>
  • Loading branch information
bisingha-xilinx authored Aug 27, 2024
1 parent 13a80c0 commit 1e526b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/runtime_src/core/edge/user/shim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,7 @@ void
shim::
register_xclbin(const xrt::xclbin&){
xclLog(XRT_INFO, "%s: xclbin successfully registered for this device without loading the xclbin", __func__);
hw_context_enable = true;
}

void
Expand Down
2 changes: 1 addition & 1 deletion src/runtime_src/core/edge/user/shim.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class shim {
std::unique_ptr<xrt_core::bo_cache> mCmdBOCache;
zynq_device *mDev = nullptr;
size_t mKernelClockFreq;
bool hw_context_enable = true;
bool hw_context_enable = false;

/*
* Mapped CU register space for xclRegRead/Write(). We support at most
Expand Down

0 comments on commit 1e526b6

Please sign in to comment.