mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Related-To: NEO-3677 Change-Id: I2c98595190fadfa8ffd9e378e774c0d4485cbf9e Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "core/helpers/debug_helpers.h"
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
#ifndef OCL_RUNTIME_PROFILING
|
|
#define OCL_RUNTIME_PROFILING 0
|
|
#endif
|
|
|
|
enum CommandStreamReceiverType {
|
|
// Use receiver for real HW
|
|
CSR_HW = 0,
|
|
// Capture an AUB file automatically for all traffic going through Device -> CommandStreamReceiver
|
|
CSR_AUB,
|
|
// Capture an AUB and tunnel all commands going through Device -> CommandStreamReceiver to a TBX server
|
|
CSR_TBX,
|
|
// Use receiver for real HW and capture AUB file
|
|
CSR_HW_WITH_AUB,
|
|
// Use TBX server and capture AUB file
|
|
CSR_TBX_WITH_AUB,
|
|
// Number of CSR types
|
|
CSR_TYPES_NUM
|
|
};
|
|
|
|
namespace NEO {
|
|
struct HardwareInfo;
|
|
|
|
// AUB file folder location
|
|
extern const char *folderAUB;
|
|
|
|
// Initial value for HW tag
|
|
// Set to 0 if using HW or simulator, otherwise 0xFFFFFF00, needs to be lower then Event::EventNotReady.
|
|
extern uint32_t initialHardwareTag;
|
|
|
|
// Number of devices in the platform
|
|
extern size_t numPlatformDevices;
|
|
extern const HardwareInfo **platformDevices;
|
|
} // namespace NEO
|