Skip to content

Commit

Permalink
Fix TXT tests for Linux (Xilinx#7982)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Benusovich <[email protected]>
  • Loading branch information
dbenusov authored Feb 29, 2024
1 parent f8f30d1 commit 8c48744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ TestTCTAllColumn::run(std::shared_ptr<xrt_core::device> dev)
auto kernelName = xkernel.get_name();
logger(ptree, "Details", boost::str(boost::format("Kernel name is '%s'") % kernelName));

auto working_dev = xrt::device{dev->get_device_id()};
auto working_dev = xrt::device(dev);
working_dev.register_xclbin(xclbin);
xrt::hw_context hwctx{working_dev, xclbin.get_uuid()};
xrt::kernel kernel{hwctx, kernelName};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ TestTCTOneColumn::run(std::shared_ptr<xrt_core::device> dev)
auto kernelName = xkernel.get_name();
logger(ptree, "Details", boost::str(boost::format("Kernel name is '%s'") % kernelName));

auto working_dev = xrt::device{dev->get_device_id()};
auto working_dev = xrt::device(dev);
working_dev.register_xclbin(xclbin);
xrt::hw_context hwctx{working_dev, xclbin.get_uuid()};
xrt::kernel kernel{hwctx, kernelName};
Expand Down

0 comments on commit 8c48744

Please sign in to comment.