Skip to content

Commit 8ad500e

Browse files
atkassenvpirogov
authored andcommitted
gpu: compute: correct max execution size on Xe2
1 parent ec49a98 commit 8ad500e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gpu/compute/device_info.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2020-2023 Intel Corporation
2+
* Copyright 2020-2024 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* 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) {
114114
}
115115

116116
int device_info_t::max_exec_size(gpu_arch_t gpu_arch) {
117-
118117
switch (gpu_arch) {
118+
case gpu::compute::gpu_arch_t::xe2:
119119
case gpu::compute::gpu_arch_t::xe_hpc: return 128;
120120
default: return 64;
121121
}

0 commit comments

Comments
 (0)