mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Program surface state when debugging is enabled
- surface state for debugSurface should be set when kernel is compiled for debug Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5618d4dfa4
commit
f7613a5827
@@ -723,7 +723,7 @@ void KernelImp::printPrintfOutput() {
|
||||
|
||||
void KernelImp::setDebugSurface() {
|
||||
auto device = module->getDevice();
|
||||
if (module->isDebugEnabled() && device->getNEODevice()->isDebuggerActive()) {
|
||||
if (module->isDebugEnabled() && device->getNEODevice()->getDebugger()) {
|
||||
|
||||
auto surfaceStateHeapRef = ArrayRef<uint8_t>(surfaceStateHeapData.get(), surfaceStateHeapDataSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user