-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL] Add Panther Lake H & U to sycl_ext_oneapi_device_architecture #16294
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
[SYCL] Add Panther Lake H & U to sycl_ext_oneapi_device_architecture #16294
Conversation
This patch adds two new GPU architectures - Panther Lake H and Panther Lake U to sycl_ext_device_architecture extension. Some small required refactoring was also performed.
| // SYCL::gen::resolveGenDevice(). | ||
| def : IntelTargetInfo<"intel_gpu_bmg_g21", Fp16Fp64Atomic64, Sg16_32>; | ||
| // | ||
| // TODO: instructions on how to get "???" values below are required. Currently |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jzc can you please add instructions here? If they are too big, they can be moved to sycl/doc/developer folder and referenced here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The easiest way is to run sycl-ls --verbose, but that requires you having the HW. Until you know the data, you can always register a target as not supporting anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jzc could you please add a doc and info about these new architectures in the separate upcoming PR?
gmlueck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spec changes LGTM
bader
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sycl/doc/UsersManual.md change looks good to me.
| __SYCL_ARCHITECTURE_ALIAS(intel_gpu_20_4_4, intel_gpu_lnl_m) | ||
| __SYCL_ARCHITECTURE_ALIAS(intel_gpu_20_4_4, intel_gpu_lnl_m) | ||
| __SYCL_ARCHITECTURE_ALIAS(intel_gpu_30_0_4, intel_gpu_ptl_h) | ||
| __SYCL_ARCHITECTURE_ALIAS(intel_gpu_30_1_1, intel_gpu_ptl_u) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| __SYCL_ARCHITECTURE_ALIAS(intel_gpu_30_1_1, intel_gpu_ptl_u) | |
| __SYCL_ARCHITECTURE_ALIAS(intel_gpu_30_1_1, intel_gpu_ptl_u) | |
|
@uditagarwal97, @intel/llvm-reviewers-runtime, could you please take a look? |
steffenlarsen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Given the urgency of this, could you please address @bader's comment in a follow-up? Comment doesn't seem to be a regression.
This patch adds two new GPU architectures - Panther Lake H and Panther Lake U to sycl_ext_device_architecture extension.
Some small required NFC refactoring was also performed.