mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Add support for GT-Pin Callbacks [3/n]
Change-Id: Iea4b49efc9a666fde310ece15a9c69686d22f627
This commit is contained in:
@@ -156,9 +156,15 @@ class Kernel : public BaseObject<_cl_kernel> {
|
||||
size_t getKernelHeapSize() const;
|
||||
size_t getSurfaceStateHeapSize() const;
|
||||
size_t getDynamicStateHeapSize() const;
|
||||
size_t getNumberOfSurfaceStates() const;
|
||||
size_t getNumberOfBindingTableStates() const;
|
||||
size_t getBindingTableOffset() const {
|
||||
return localBindingTableOffset;
|
||||
}
|
||||
|
||||
void resizeSurfaceStateHeap(void *pNewSsh, size_t newSshSize, size_t newBindingTableCount, size_t newBindingTableOffset);
|
||||
|
||||
void substituteKernelHeap(void *newKernelHeap, size_t newKernelHeapSize);
|
||||
bool isKernelHeapSubstituted() const;
|
||||
uint64_t getKernelId() const;
|
||||
void setKernelId(uint64_t newKernelId);
|
||||
|
||||
@@ -434,6 +440,8 @@ class Kernel : public BaseObject<_cl_kernel> {
|
||||
std::vector<KernelArgHandler> kernelArgHandlers;
|
||||
std::vector<GraphicsAllocation *> kernelSvmGfxAllocations;
|
||||
|
||||
size_t numberOfBindingTableStates;
|
||||
size_t localBindingTableOffset;
|
||||
char *pSshLocal;
|
||||
uint32_t sshLocalSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user