mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Change-Id: I952facac33e759ce81982f69a4ce05ffe545cea0 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
26 lines
831 B
C++
26 lines
831 B
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace OCLRT {
|
|
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();
|
|
} // namespace OCLRT
|