|
96 | 96 | "LIBCLANG_NOTHREADS", |
97 | 97 | "LIBCLANG_RESOURCE_USAGE", |
98 | 98 | "LIBCLANG_CODE_COMPLETION_LOGGING", |
99 | | - "ZE_AFFINITY_MASK", |
100 | 99 | ] |
101 | 100 |
|
102 | 101 | # Names of the Release and Debug versions of the XPTIFW library |
@@ -707,7 +706,7 @@ def remove_level_zero_suffix(devices): |
707 | 706 | available_devices = { |
708 | 707 | "opencl": ("cpu", "gpu", "fpga"), |
709 | 708 | "cuda": "gpu", |
710 | | - "level_zero": ("gpu", "0", "1"), |
| 709 | + "level_zero": "gpu", |
711 | 710 | "hip": "gpu", |
712 | 711 | "native_cpu": "cpu", |
713 | 712 | "offload": "gpu", |
@@ -951,15 +950,6 @@ def get_sycl_ls_verbose(sycl_device, env): |
951 | 950 |
|
952 | 951 | config.sycl_devices = filtered_sycl_devices |
953 | 952 |
|
954 | | -# Determine ZE_AFFINITY_MASK for Level Zero devices. |
955 | | -# Sanitizer tests need to set ZE_AFFINITY_MASK to a single device index |
956 | | -config.ze_affinity_mask = None |
957 | | -for sycl_device in remove_level_zero_suffix(config.sycl_devices): |
958 | | - be, dev = sycl_device.split(":") |
959 | | - if be == "level_zero" and dev.isdigit(): |
960 | | - config.ze_affinity_mask = dev |
961 | | - break |
962 | | - |
963 | 953 | for sycl_device in remove_level_zero_suffix(config.sycl_devices): |
964 | 954 | be, dev = sycl_device.split(":") |
965 | 955 | config.available_features.add("any-device-is-" + dev) |
@@ -1124,7 +1114,6 @@ def get_sycl_ls_verbose(sycl_device, env): |
1124 | 1114 | features.update(sg_size_features) |
1125 | 1115 | features.update(architecture_feature) |
1126 | 1116 | features.update(device_family) |
1127 | | - features.update(aspects) |
1128 | 1117 |
|
1129 | 1118 | be, dev = sycl_device.split(":") |
1130 | 1119 | if dev.isdigit(): |
|
0 commit comments