2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2018-09-18 15:11:08 +08:00
|
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
struct HardwareInfo;
|
|
|
|
class CommandStreamReceiver;
|
2018-08-08 19:49:09 +08:00
|
|
|
class ExecutionEnvironment;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
struct AUBCommandStreamReceiver {
|
2018-08-08 19:49:09 +08:00
|
|
|
static CommandStreamReceiver *create(const HardwareInfo &hwInfo, const std::string &filename, bool standalone, ExecutionEnvironment &executionEnvironment);
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
using AubFileStream = AubMemDump::AubFileStream;
|
|
|
|
};
|
|
|
|
|
2018-08-08 19:49:09 +08:00
|
|
|
typedef CommandStreamReceiver *(*AubCommandStreamReceiverCreateFunc)(const HardwareInfo &hwInfoIn, const std::string &fileName, bool standalone, ExecutionEnvironment &executionEnvironment);
|
2018-06-13 03:54:39 +08:00
|
|
|
} // namespace OCLRT
|