2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2019-01-09 21:23:49 +08:00
|
|
|
* Copyright (C) 2017-2019 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"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2017-12-21 07:45:38 +08:00
|
|
|
#include <string>
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
struct HardwareInfo;
|
|
|
|
class CommandStreamReceiver;
|
2018-08-08 19:49:09 +08:00
|
|
|
class ExecutionEnvironment;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
struct AUBCommandStreamReceiver {
|
2019-10-29 15:01:53 +08:00
|
|
|
static CommandStreamReceiver *create(const std::string &filename, bool standalone, ExecutionEnvironment &executionEnvironment, uint32_t rootDeviceIndex);
|
2019-01-09 21:23:49 +08:00
|
|
|
static std::string createFullFilePath(const HardwareInfo &hwInfo, const std::string &filename);
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
using AubFileStream = AubMemDump::AubFileStream;
|
|
|
|
};
|
|
|
|
|
2019-10-29 15:01:53 +08:00
|
|
|
typedef CommandStreamReceiver *(*AubCommandStreamReceiverCreateFunc)(const std::string &fileName, bool standalone, ExecutionEnvironment &executionEnvironment, uint32_t rootDeviceIndex);
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|