Skip to content

Commit

Permalink
gpu: compute: correct max execution size on Xe2
Browse files Browse the repository at this point in the history
  • Loading branch information
atkassen authored and vpirogov committed Feb 13, 2024
1 parent ec49a98 commit 8ad500e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gpu/compute/device_info.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 8ad500e

Please sign in to comment.