P4 to Git Change 1052441 by gandryey@gera-dev-w7 on 2014/07/04 18:58:11
ECR #304775 - Device enqueuing
- Match the printed value width with the argument size
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#319 edit
[ROCm/clr commit: 0d42b943fe]
This commit is contained in:
1 parent
ad3093e80c
commit
e1ddad4e50
1 file changed
+2
@@ -1785,6 +1785,8 @@ VirtualGPU::submitKernelInternalHSA(
|
||||
for (j = 0; j < child->numArguments(); ++j) {
|
||||
print << "\t" << child->argument(j)->name_ << ": ";
|
||||
for (int s = child->argument(j)->size_ - 1; s >= 0; --s) {
|
||||
print.width(2);
|
||||
print.fill('0');
|
||||
print << (uint32_t)(argum[s]);
|
||||
}
|
||||
argum += child->argument(j)->size_;
|
||||
|
||||
Reference in new issue
Block a user