mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
Kernel source debugging support 1/n
- new patch token - program debug compilation flag - sip kernel new methods for querying bti and debug surface size Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
This commit is contained in:
committed by
sys_ocldev
parent
0ef0d6fc52
commit
cc6fa3d1e1
@@ -58,10 +58,22 @@ class SipKernel {
|
||||
return type;
|
||||
}
|
||||
|
||||
int32_t getDebugSurfaceBti() const {
|
||||
return debugSurfaceBti;
|
||||
}
|
||||
|
||||
size_t getDebugSurfaceSize() const {
|
||||
return debugSurfaceSize;
|
||||
}
|
||||
|
||||
static const size_t maxDbgSurfaceSize;
|
||||
|
||||
GraphicsAllocation *getSipAllocation() const;
|
||||
|
||||
protected:
|
||||
SipKernelType type = SipKernelType::COUNT;
|
||||
std::unique_ptr<Program> program;
|
||||
int32_t debugSurfaceBti = -1;
|
||||
size_t debugSurfaceSize = 0;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user