Skip to content

Commit 4109e15

Browse files
authored
Make sure arch_parser.c work with DLE 2025.0 (#4616)
1 parent 19486bb commit 4109e15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

third_party/intel/backend/arch_parser.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ extern "C" EXPORT_FUNC const char *parse_device_arch(uint64_t dev_arch) {
4343
case sycl::ext::oneapi::experimental::architecture::intel_gpu_pvc:
4444
arch = "pvc";
4545
break;
46+
#if SYCL_COMPILER_VERSION >= 20250000
4647
case sycl::ext::oneapi::experimental::architecture::intel_gpu_ptl_h:
4748
arch = "ptl_h";
4849
break;
50+
#endif
4951
default:
5052
std::cerr << "sycl_arch not recognized: " << (uint64_t)sycl_arch
5153
<< std::endl;

0 commit comments

Comments
 (0)