P4 to Git Change 1439116 by jatang@jatang-opencl-hsa-stg1 on 2017/07/25 11:47:36
SWDEV-95919 - Make sure PerfCounters_Start, Kernel_dispatch, and PerfCounters_End are in the same command buffer.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#85 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#38 edit
[ROCm/clr commit: 18617446da]
Этот коммит содержится в:
@@ -897,7 +897,7 @@ class PerfCounterCommand : public Command {
|
||||
//! Construct a new PerfCounterCommand
|
||||
PerfCounterCommand(HostQueue& queue, const EventWaitList& eventWaitList,
|
||||
const PerfCounterList& counterList, State state)
|
||||
: Command(queue, 0, eventWaitList), counterList_(counterList), state_(state) {
|
||||
: Command(queue, 1, eventWaitList), counterList_(counterList), state_(state) {
|
||||
for (uint i = 0; i < counterList_.size(); ++i) {
|
||||
counterList_[i]->retain();
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user