mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Added header with options to AubStream interface
Change-Id: I9be43f1b41008dde040036a0cfce94431a35c3ac
This commit is contained in:
committed by
sys_ocldev
parent
64ff9d30b7
commit
936af1b5a8
@@ -14,7 +14,7 @@ namespace AubDump {
|
||||
struct HardwareContext {
|
||||
virtual void initialize() = 0;
|
||||
virtual void pollForCompletion() = 0;
|
||||
virtual void submit(uint64_t gfxAddress, const void *batchBuffer, size_t size, uint32_t memoryBank, size_t pageSize = 65536) = 0;
|
||||
virtual void submit(uint64_t gfxAddress, const void *batchBuffer, size_t size, uint32_t memoryBanks, size_t pageSize = 65536) = 0;
|
||||
virtual void writeMemory(uint64_t gfxAddress, const void *memory, size_t size, uint32_t memoryBanks, int hint, size_t pageSize = 65536) = 0;
|
||||
virtual void freeMemory(uint64_t gfxAddress, size_t size) = 0;
|
||||
virtual void expectMemory(uint64_t gfxAddress, const void *memory, size_t size, uint32_t compareOperation) = 0;
|
||||
|
||||
24
third_party/aub_stream/headers/options.h
vendored
Normal file
24
third_party/aub_stream/headers/options.h
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
#include <ostream>
|
||||
#include <vector>
|
||||
|
||||
namespace AubDump {
|
||||
|
||||
extern std::ostream &log;
|
||||
extern std::string tbxServerIp;
|
||||
extern uint16_t tbxServerPort;
|
||||
|
||||
using MMIOPair = std::pair<uint32_t, uint32_t>;
|
||||
using MMIOList = std::vector<MMIOPair>;
|
||||
extern MMIOList injectMMIOList;
|
||||
|
||||
} // namespace AubDump
|
||||
Reference in New Issue
Block a user