P4 to Git Change 1182841 by jatang@jatang-opencl-hsa-stg1 on 2015/08/20 15:24:51

EPR #423121 - Retrieve thread trace results for all SEs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_thread_trace_amd.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gputhreadtrace.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#48 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLThreadTrace.cpp#9 edit


[ROCm/clr commit: 0e7d12680f]
This commit is contained in:
foreman
2015-08-20 15:36:47 -04:00
bovenliggende 07db9e117f
commit 307a35d63c
3 gewijzigde bestanden met toevoegingen van 6 en 10 verwijderingen
@@ -43,7 +43,7 @@ ThreadTrace::create(CalThreadTraceReference* calRef)
}
bool
ThreadTrace::info(uint infoType, uint* info,uint infoSize) const
ThreadTrace::info(uint infoType, uint* info, uint infoSize) const
{
switch (infoType) {
case CL_THREAD_TRACE_BUFFERS_SIZE: {
@@ -52,7 +52,7 @@ ThreadTrace::info(uint infoType, uint* info,uint infoSize) const
return false;
}
else {
*info = gpu().getThreadTraceQueryRes(gslThreadTrace());
gpu().getThreadTraceQueryRes(gslThreadTrace(), info);
}
break;
}