mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
[2/n] Move Hardware Info to Execution Environment
- remove hwInfo from the csr functions where it was passed as a parameter, now csr functions have access to hwInfo by Execution Environment Change-Id: I756ae63d9728c9c963571147bab97f9e1c15797b Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
ca4b47f7f4
commit
16aee8cc46
@ -16,7 +16,6 @@
|
||||
// notepad build_runtime_vs2013.bat
|
||||
|
||||
namespace OCLRT {
|
||||
struct HardwareInfo;
|
||||
class CommandStreamReceiver;
|
||||
class TbxSockets;
|
||||
class ExecutionEnvironment;
|
||||
@ -45,10 +44,10 @@ class TbxStream : public AubMemDump::AubStream {
|
||||
};
|
||||
|
||||
struct TbxCommandStreamReceiver {
|
||||
static CommandStreamReceiver *create(const HardwareInfo &hwInfo, const std::string &baseName, bool withAubDump, ExecutionEnvironment &executionEnvironment);
|
||||
static CommandStreamReceiver *create(const std::string &baseName, bool withAubDump, ExecutionEnvironment &executionEnvironment);
|
||||
|
||||
using TbxStream = OCLRT::TbxStream;
|
||||
};
|
||||
|
||||
typedef CommandStreamReceiver *(*TbxCommandStreamReceiverCreateFunc)(const HardwareInfo &hwInfoIn, const std::string &baseName, bool withAubDump, ExecutionEnvironment &executionEnvironment);
|
||||
typedef CommandStreamReceiver *(*TbxCommandStreamReceiverCreateFunc)(const std::string &baseName, bool withAubDump, ExecutionEnvironment &executionEnvironment);
|
||||
} // namespace OCLRT
|
||||
|
Reference in New Issue
Block a user