Skip to content

Adapt to the get_pointer return type change from upstream intel/llvm #1812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

shuoniu-intel
Copy link
Contributor

@shuoniu-intel shuoniu-intel commented Aug 2, 2023

Description

The upstream commit intel/llvm#8874 changed the return type of accessor::get_pointer from a multi_ptr to a raw pointer, which affects all uses of lsu::load and lsu::store who expect a multi_ptr as their first function argument.

This commit updates the two affected code samples (lsu_control, latency_control) to avoid the compile failure caused by pointer type mismatch between accessor::get_pointer and lsu::load/lsu::store.

Fixes Issue https://jira.devtools.intel.com/browse/HLD-2916.

Case tracker for improving LSU control API in the future: https://hsdes.intel.com/appstore/article/#/14020028781.

Type of change

  • Implement fixes for ONSAM Jiras

How Has This Been Tested?

@shuoniu-intel shuoniu-intel changed the title Adapt to the get_pointer() return type change from upstream intel/llvm Adapt to the get_pointer return type change from upstream intel/llvm Aug 2, 2023
Copy link

@whitepau whitepau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readme changes

@shuoniu-intel shuoniu-intel requested a review from whitepau August 4, 2023 16:09
Copy link

@whitepau whitepau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing

@jimmytwei jimmytwei added the FPGA label Aug 7, 2023
@jimmytwei jimmytwei requested a review from yuguen August 7, 2023 15:58
@jimmytwei jimmytwei merged commit 2bec6e7 into oneapi-src:development Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants