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

Change-Id: Ie05ea252d59372dcfb766851efa1311642f29c74 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
31 lines
913 B
C++
31 lines
913 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "CL/cl.h"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
extern bool isGTPinInitialized;
|
|
|
|
void gtpinNotifyContextCreate(cl_context context);
|
|
void gtpinNotifyContextDestroy(cl_context context);
|
|
void gtpinNotifyKernelCreate(cl_kernel kernel);
|
|
void gtpinNotifyKernelSubmit(cl_kernel kernel, void *pCmdQueue);
|
|
void gtpinNotifyPreFlushTask(void *pCmdQueue);
|
|
void gtpinNotifyFlushTask(uint32_t flushedTaskCount);
|
|
void gtpinNotifyTaskCompletion(uint32_t completedTaskCount);
|
|
void gtpinNotifyMakeResident(void *pKernel, void *pCommandStreamReceiver);
|
|
void gtpinNotifyUpdateResidencyList(void *pKernel, void *pResidencyVector);
|
|
void gtpinNotifyPlatformShutdown();
|
|
inline bool gtpinIsGTPinInitialized() { return isGTPinInitialized; }
|
|
void *gtpinGetIgcInit();
|
|
void gtpinSetIgcInit(void *pIgcInitPtr);
|
|
} // namespace NEO
|