Skip to content

Conversation

@etiotto
Copy link
Contributor

@etiotto etiotto commented Dec 8, 2025

Add the ability to query the target XPU architecture in Triton tests.

@etiotto etiotto self-assigned this Dec 8, 2025
@etiotto etiotto requested a review from chengjunlu December 8, 2025 17:07
Signed-off-by: Ettore Tiotto <[email protected]>
Signed-off-by: Ettore Tiotto <[email protected]>
Comment on lines +159 to +174
def is_xpu_lpg():
return is_xpu_arl_s()


def is_xpu_lpgP():
return is_xpu_arl_h()


def is_xpu_hpg():
return is_xpu_dg2()


def is_xpu_hpc():
return is_xpu_pvc()


Copy link
Contributor

Choose a reason for hiding this comment

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

wonder if those are really going to be useful



def is_xpu_xe2():
return is_xpu_bmg()
Copy link
Contributor

Choose a reason for hiding this comment

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

is pvc xe2?

return is_xpu_ptl_h() or is_xpu_ptl_u()


def is_xpu_xe3P():
Copy link
Contributor

Choose a reason for hiding this comment

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

[optional] I usually see xe3p with p lower case.

@etiotto etiotto merged commit 414f7b7 into main Dec 9, 2025
27 of 29 checks passed
@etiotto etiotto deleted the etiotto.add_is_xpu_xxx branch December 9, 2025 14:17
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.

4 participants