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


[ROCm/clr commit: f435a5144a]
This commit is contained in:
foreman
2018-11-09 15:20:44 -05:00
bovenliggende c4985ad98f
commit 1bafe367bc
@@ -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) {