mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
17 lines
338 B
C++
17 lines
338 B
C++
/*
|
|
* Copyright (C) 2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/compiler_interface/compiler_interface.h"
|
|
|
|
namespace NEO {
|
|
|
|
bool CompilerInterface::isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) {
|
|
return hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt;
|
|
}
|
|
|
|
} // namespace NEO
|