Skip to content
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

[BLAS] Fix complex header inclusion and multi_ptr cast #4

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

s-Nick
Copy link
Contributor

@s-Nick s-Nick commented Jan 10, 2025

This patch update the include path and check for complex header, due to compiler changes of default include path.

After updating the header inclusion, an issue with sycl::multi_ptr cast of sycl::complex type arose.
This patch work-around the issue by overloading the load/store function of the internal vector representation for complex type.

Attaching logs using oneMath test both using a recent nightly and latest icpx version (oneAPI 2025):

multi_ptr cast

Newest compiler nightly change include path for header, this change
requires to update to properly check and include sycl complex headers.
multi_ptr cast as it is caused ambigous call to static_cast,
this patch work-around the issue overloading load function using
raw_pointers.

Signed-off-by: nscipione <[email protected]>
Signed-off-by: nscipione <[email protected]>
@s-Nick s-Nick requested a review from Rbiessy January 10, 2025 15:24
@s-Nick s-Nick merged commit 6411407 into uxlfoundation:main Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants