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

oneAPI: Bump to v2025.0.0 #9766

Merged
merged 3 commits into from
Nov 11, 2024
Merged

oneAPI: Bump to v2025.0.0 #9766

merged 3 commits into from
Nov 11, 2024

Conversation

maleadt
Copy link
Contributor

@maleadt maleadt commented Nov 11, 2024

Binary counterpart of JuliaGPU/oneAPI.jl#480. Removes the libOpenCL workaround we had in place, and also switches back to GCC now that the SYCL headers seem patched, and to avoid what looks like a Clang bug.

Specifically, with Clang we run into the same issue we had the previous time around:

ERROR: could not load library "/home/tim/Julia/src/Yggdrasil/O/oneAPI_Support/build/x86_64-linux-gnu/1wcmn0N3/x86_64-linux-gnu-libgfortran5-cxx11/destdir/lib/liboneapi_support.so"
/home/tim/Julia/src/Yggdrasil/O/oneAPI_Support/build/x86_64-linux-gnu/1wcmn0N3/x86_64-linux-gnu-libgfortran5-cxx11/destdir/lib/liboneapi_support.so: undefined symbol: _ZN6oneapi3mkl6lapack21gebrd_scratchpad_sizeIfTnPNS1_8internal9enable_ifIXsr5is_fpIT_EE5valueEvE4typeELPv0EEElRN4sycl3_V15queueElll

Taking a closer look, this symbol is provided by libmkl_lapack, but slightly differently mangled:

_ZN6oneapi3mkl6lapack21gebrd_scratchpad_sizeIfTnPNS1_8internal9enable_ifIXsr5is_fpIT_EE5valueEvE4typeELPv0EEElRN4sycl3_V15queueElll

Both however demangle to the same signature: long oneapi::mkl::lapack::gebrd_scratchpad_size<float, (void*)0>(sycl::_V1::queue&, long, long, long). I'm not sure who or what's to blame here; icpx is also Clang based, and generates the correct mangled string... Switching back to GCC works around the issue.

@maleadt maleadt merged commit 1963a30 into master Nov 11, 2024
4 checks passed
@maleadt maleadt deleted the tb/oneapi_2025 branch November 11, 2024 11:59
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.

1 participant