From 8ad500ec5507a76c8d991cb2ecf0a80f01ec8d0d Mon Sep 17 00:00:00 2001 From: "Kassen, Andrew" Date: Mon, 12 Feb 2024 13:31:20 -0800 Subject: [PATCH] gpu: compute: correct max execution size on Xe2 --- src/gpu/compute/device_info.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpu/compute/device_info.cpp b/src/gpu/compute/device_info.cpp index 02f3793488f..27623566d15 100644 --- a/src/gpu/compute/device_info.cpp +++ b/src/gpu/compute/device_info.cpp @@ -1,5 +1,5 @@ /******************************************************************************* -* Copyright 2020-2023 Intel Corporation +* Copyright 2020-2024 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -114,8 +114,8 @@ int device_info_t::max_subgroup_size(gpu_arch_t gpu_arch) { } int device_info_t::max_exec_size(gpu_arch_t gpu_arch) { - switch (gpu_arch) { + case gpu::compute::gpu_arch_t::xe2: case gpu::compute::gpu_arch_t::xe_hpc: return 128; default: return 64; }