mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 12:33:12 +08:00
- 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>
27 lines
773 B
C++
27 lines
773 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
|
|
|
#include <string>
|
|
|
|
namespace OCLRT {
|
|
struct HardwareInfo;
|
|
class CommandStreamReceiver;
|
|
class ExecutionEnvironment;
|
|
|
|
struct AUBCommandStreamReceiver {
|
|
static CommandStreamReceiver *create(const std::string &filename, bool standalone, ExecutionEnvironment &executionEnvironment);
|
|
static std::string createFullFilePath(const HardwareInfo &hwInfo, const std::string &filename);
|
|
|
|
using AubFileStream = AubMemDump::AubFileStream;
|
|
};
|
|
|
|
typedef CommandStreamReceiver *(*AubCommandStreamReceiverCreateFunc)(const std::string &fileName, bool standalone, ExecutionEnvironment &executionEnvironment);
|
|
} // namespace OCLRT
|