Skip to content

Commit

Permalink
gpu: compute: trust ocl queries for dpas on xe_hpg and later
Browse files Browse the repository at this point in the history
  • Loading branch information
petercad committed Mar 17, 2023
1 parent 760fe10 commit ed49414
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gpu/compute/device_info.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2020-2022 Intel Corporation
* Copyright 2020-2023 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 @@ -37,13 +37,13 @@ uint64_t get_future_extensions(compute::gpu_arch_t gpu_arch) {
case gpu_arch_t::gen9:
case gpu_arch_t::gen11: break;
case gpu_arch_t::xe_hp:
case gpu_arch_t::xe_hpg:
case gpu_arch_t::xe_hpc:
extensions |= (uint64_t)device_ext_t::intel_global_float_atomics;
extensions |= (uint64_t)
device_ext_t::intel_subgroup_matrix_multiply_accumulate;
extensions |= (uint64_t)device_ext_t::
intel_subgroup_split_matrix_multiply_accumulate;
case gpu_arch_t::xe_hpg:
case gpu_arch_t::xe_hpc:
extensions |= (uint64_t)device_ext_t::intel_global_float_atomics;
extensions
|= (uint64_t)device_ext_t::intel_variable_eu_thread_count;
extensions |= (uint64_t)device_ext_t::future_bf16_cvt;
Expand Down

0 comments on commit ed49414

Please sign in to comment.