Skip to content

Commit 97f1155

Browse files
committed
Add is_lnl() test helper function
1 parent 0684c1f commit 97f1155

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dpnp/tests/helper.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,13 @@ def is_iris_xe(device=None):
447447
return _get_dev_mask(device) == 0x9A00
448448

449449

450+
def is_lnl(device=None):
451+
"""
452+
Return True if a test is running on Lunar Lake GPU device, False otherwise.
453+
"""
454+
return _get_dev_mask(device) == 0x6400
455+
456+
450457
def is_lts_driver(device=None):
451458
"""
452459
Return True if a test is running on a GPU device with LTS driver version,

0 commit comments

Comments
 (0)