Improve files of SipKernel class

This change:
- removes redundant copying of std::vector
- removes unneeded includes from the header file
and introduces usage of forward declaration

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
Patryk Wrobel
2022-08-28 23:20:29 +00:00
committed by Compute-Runtime-Automation
parent 4809a2a9b3
commit de3e5d4d69
4 changed files with 15 additions and 6 deletions

View File

@@ -6,17 +6,21 @@
*/
#pragma once
#include "shared/source/built_ins/sip_kernel_type.h"
#include "shared/source/helpers/hw_info.h"
#include "shared/source/program/program_info.h"
#include "shared/source/built_ins/sip_kernel_type.h"
#include <cstddef>
#include <memory>
#include <string>
#include <vector>
namespace NEO {
class Device;
class GraphicsAllocation;
class MemoryManager;
struct HardwareInfo;
struct RootDeviceEnvironment;
class SipKernel {
@@ -68,4 +72,5 @@ class SipKernel {
GraphicsAllocation *sipAllocation = nullptr;
SipKernelType type = SipKernelType::COUNT;
};
} // namespace NEO