Skip to content

Commit

Permalink
XRT changes w.r.to changes made in AWS library (#8646)
Browse files Browse the repository at this point in the history
* Fix errors in PR 8361

* porting AWS F2 work around changes to 2024.1

Signed-off-by: karthik dmg <karthdmg@amd.com>

* changes related to latest AWS libirary update

Signed-off-by: karthik dmg <karthdmg@amd.com>

---------

Signed-off-by: karthik dmg <karthdmg@amd.com>
Co-authored-by: rave <karthik>
  • Loading branch information
karthdmg-xilinx authored Dec 20, 2024
1 parent a164cdc commit ea9e7d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/runtime_src/core/pcie/tools/cloud-daemon/aws/aws_dev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,12 +595,12 @@ int AwsDev::awsGetIcap(xcl_pr_region *data)
#else
fpga_mgmt_image_info imageInfo;
fpga_mgmt_describe_local_image( mBoardNumber, &imageInfo, 0 );
FIELD(data, freq, 0) = imageInfo.metrics.clocks[0].frequency[0] / 1000000;
FIELD(data, freq, 1) = imageInfo.metrics.clocks[1].frequency[0] / 1000000;
FIELD(data, freq, 2) = imageInfo.metrics.clocks[2].frequency[0] / 1000000;
FIELD(data, freq_cntr, 0) = imageInfo.metrics.clocks[0].frequency[0] / 1000;
FIELD(data, freq_cntr, 1) = imageInfo.metrics.clocks[1].frequency[0] / 1000;
FIELD(data, freq_cntr, 2) = imageInfo.metrics.clocks[2].frequency[0] / 1000;
FIELD(data, freq, 0) = imageInfo.metrics.f2_metrics.clocks[0].frequency[0] / 1000000;
FIELD(data, freq, 1) = imageInfo.metrics.f2_metrics.clocks[1].frequency[0] / 1000000;
FIELD(data, freq, 2) = imageInfo.metrics.f2_metrics.clocks[2].frequency[0] / 1000000;
FIELD(data, freq_cntr, 0) = imageInfo.metrics.f2_metrics.clocks[0].frequency[0] / 1000;
FIELD(data, freq_cntr, 1) = imageInfo.metrics.f2_metrics.clocks[1].frequency[0] / 1000;
FIELD(data, freq_cntr, 2) = imageInfo.metrics.f2_metrics.clocks[2].frequency[0] / 1000;
data->data_retention = 1;
#endif
//do we need to save uuid of xclbin loaded so that we can return xclbin uuid here?
Expand Down

0 comments on commit ea9e7d2

Please sign in to comment.