P4 to Git Change 1537141 by gandryey@gera-w8 on 2018/04/05 11:56:20
SWDEV-149190 - [CQE OCL][DTB-BLOCKER][WIN][LNX][QR]observed soft hang while running oclruntime sub-test of ocltst due to faulty CL#1529531
- Pal::PerfExperiment can't works with extra offsets for allocations. Thus disable suballocation for the thread trace.
- Minor clean-ups: make sure the profiling end is called for threadtrace commands; call buf release on mem copy in the program loader; add comments to the scratch buffer alignment.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#85 edit
[ROCm/clr commit: 1d972ed59a]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
f63ba32b23
tiomantas
0a7709ae9e
4 comhad athraithe
+12
-3
Níor tháinig aon chomhaid le do chuardach
@@ -98,6 +98,7 @@ void Segment::copy(size_t offset, const void* src, size_t size) {
|
||||
srcOffs += tmpSize;
|
||||
tmpSize = std::min(static_cast<size_t>(xferBuf.size()), size);
|
||||
}
|
||||
gpuAccess_->dev().xferWrite().release(gpu, xferBuf);
|
||||
gpu.waitAllEngines();
|
||||
}
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir