mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Resolves: NEO-3155 Change-Id: I44a544a4ecd06e5769995eb1f67948ebb10a2cb5 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
27 lines
691 B
C++
27 lines
691 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
|
|
static long(__stdcall *notifyAubCaptureImpl)(void *csrHandle, uint64_t gfxAddress, size_t gfxSize, bool allocate) = nullptr;
|
|
template <typename GfxFamily>
|
|
struct DeviceCallbacks {
|
|
static long __stdcall notifyAubCapture(void *csrHandle, uint64_t gfxAddress, size_t gfxSize, bool allocate);
|
|
};
|
|
|
|
template <typename GfxFamily>
|
|
struct TTCallbacks {
|
|
using MI_LOAD_REGISTER_IMM = typename GfxFamily::MI_LOAD_REGISTER_IMM;
|
|
|
|
static int __stdcall writeL3Address(void *queueHandle, uint64_t l3GfxAddress, uint64_t regOffset);
|
|
};
|
|
|
|
} // namespace NEO
|