-
Notifications
You must be signed in to change notification settings - Fork 768
[SYCL][RT] cpuid.h assumed but missing on non-x86 #2304
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
Comments
I am working on this, but it's slow-going, given that I can do one LLVM build a day. |
bader
pushed a commit
that referenced
this issue
Aug 17, 2020
This has been tested on Raspberry Pi 4 and Cavium ThunderX2 running Ubuntu AArch64. The build also depends on my fixes for #2304, but those are not ready. Nonetheless, this fix is independent of that one and can be merged without side effects. There is a clearly a more general solution here, but it seems imprudent to add architectures to the buildbot testing until they have actually been tested somewhere. Once I have a chance to test on PowerPC, I'll see about adding that as an explicit target, or provide a more general solution (e.g. `--arch=..`). Signed-off-by: Jeff R. Hammond <[email protected]>
jsji
pushed a commit
that referenced
this issue
Feb 1, 2024
The goal of the PR is to add API to SPIR-V LLVM Translator to query error message by an error code as discussed in #2298 A need and possible application is a way to generate human-readable error info by error codes returned by other SPIRV Translator API calls, including getSpirvReport(). Original commit: KhronosGroup/SPIRV-LLVM-Translator@afe1971
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cpuid.h
is assumed to exist insycl/source/detail/platform_util.cpp
and that file in general assumes x86 features.Given that LLVM supports "all the architectures", I wonder if there is a way to reuse code from other LLVM components to make the SYCL RT architecture agnostic.
Source
sycl/source/detail/platform_util.cpp
Build error
The text was updated successfully, but these errors were encountered: