Skip to content

Conversation

@dm-vodopyanov
Copy link
Contributor

@dm-vodopyanov dm-vodopyanov commented Dec 6, 2024

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.

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
Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor

@gmlueck gmlueck left a comment

Choose a reason for hiding this comment

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

spec changes LGTM

Copy link
Contributor

@bader bader left a 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)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
__SYCL_ARCHITECTURE_ALIAS(intel_gpu_30_1_1, intel_gpu_ptl_u)
__SYCL_ARCHITECTURE_ALIAS(intel_gpu_30_1_1, intel_gpu_ptl_u)

@AlexeySachkov
Copy link
Contributor

@uditagarwal97, @intel/llvm-reviewers-runtime, could you please take a look?

Copy link
Contributor

@steffenlarsen steffenlarsen left a 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.

@dm-vodopyanov dm-vodopyanov merged commit c4288a9 into intel:sycl Dec 10, 2024
15 checks passed
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.

6 participants