Don't use device from kernel if possible [1/n]

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-11-13 11:41:45 +01:00
committed by Compute-Runtime-Automation
parent a2d2bd629a
commit bd432fa94c
11 changed files with 67 additions and 42 deletions

View File

@@ -420,6 +420,9 @@ class Kernel : public BaseObject<_cl_kernel> {
void setAdditionalKernelExecInfo(uint32_t additionalKernelExecInfo);
uint32_t getAdditionalKernelExecInfo() const;
MOCKABLE_VIRTUAL bool requiresWaDisableRccRhwoOptimization() const;
const ClDeviceVector &getDevices() const {
return deviceVector;
}
protected:
struct ObjectCounts {