P4 to Git Change 1705130 by gandryey@gera-w8 on 2018/11/09 15:05:26

SWDEV-170771 - [OCL][ PAL issue][Veg10]:Ocltst test fail from OCL Sanity observed by debug driver CL#1621748
	- Make a workaround for assert in PAL. It's unclear if we need the tokens in the trace, so for now use PAL defined mask for all.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.cpp#8 edit
This commit is contained in:
foreman
2018-11-09 15:20:44 -05:00
parent 0212151a49
commit f435a5144a
+1 -1
View File
@@ -124,7 +124,7 @@ bool ThreadTrace::create() {
sqttInfo.optionValues.bufferSize =
amd::alignUp(dev().getGpuMemory(*itMemObj)->size(), (0x1 << 12));
sqttInfo.optionFlags.threadTraceTokenConfig = 1;
sqttInfo.optionValues.threadTraceTokenConfig.tokenMask = 0x0000ffff;
sqttInfo.optionValues.threadTraceTokenConfig.tokenMask = Pal::ThreadTraceTokenTypeFlags::All;
Pal::Result result = iPerf()->AddThreadTrace(sqttInfo);
if (result != Pal::Result::Success) {