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
Tá an tiomantas seo le fáil i:
foreman
2015-08-20 15:36:47 -04:00
tuismitheoir 3248882470
tiomantas 05365086fe
+2 -2
Féach ar an gComhad
@@ -223,9 +223,9 @@ RUNTIME_ENTRY(cl_int, clGetThreadTraceInfoAMD, (
if (devThreadTrace == NULL) {
return CL_INVALID_OPERATION;
}
unsigned int bufSize2Se[2] = {0};
unsigned int bufSize2Se[4] = {0};
if (!devThreadTrace->info(thread_trace_info_param,bufSize2Se,seNum)) {
if (!devThreadTrace->info(thread_trace_info_param, bufSize2Se, seNum)) {
return CL_INVALID_VALUE;
}
return amd::clGetInfo(bufSize2Se,