SWDEV-301667 - Improve kernel logging
Change-Id: I4b2b1950e3ab7124fd41af9a92a677c48d6da5eb
Este cometimento está contido em:
@@ -1439,6 +1439,8 @@ void* VirtualGPU::allocKernArg(size_t size, size_t alignment) {
|
||||
//! That means the app didn't call clFlush/clFinish for very long time.
|
||||
// Reset the signal for the barrier packet
|
||||
hsa_signal_silent_store_relaxed(kernarg_pool_signal_[active_chunk_], kInitSignalValueOne);
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_KERN, "Issue barrier to flush kernel arg chunk %d",
|
||||
active_chunk_);
|
||||
// Dispatch a barrier packet into the queue
|
||||
dispatchBarrierPacket(kBarrierPacketHeader, true, kernarg_pool_signal_[active_chunk_]);
|
||||
// Get the next chunk
|
||||
@@ -3265,7 +3267,9 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes,
|
||||
gpuKernel.KernargSegmentAlignment());
|
||||
currCmd_->SetKernelName(gpuKernel.name());
|
||||
} else {
|
||||
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_KERN, "KernargSegmentByteSize = %lu "
|
||||
"KernargSegmentAlignment = %lu", gpuKernel.KernargSegmentByteSize(),
|
||||
gpuKernel.KernargSegmentAlignment());
|
||||
argBuffer = reinterpret_cast<address>(
|
||||
allocKernArg(gpuKernel.KernargSegmentByteSize(),
|
||||
gpuKernel.KernargSegmentAlignment()));
|
||||
|
||||
@@ -82,7 +82,6 @@ bool Runtime::init() {
|
||||
|
||||
initialized_ = true;
|
||||
pid_ = amd::Os::getProcessId();
|
||||
ClTrace(LOG_DEBUG, LOG_INIT);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -90,7 +89,6 @@ void Runtime::tearDown() {
|
||||
if (!initialized_) {
|
||||
return;
|
||||
}
|
||||
ClTrace(LOG_DEBUG, LOG_INIT);
|
||||
|
||||
Agent::tearDown();
|
||||
Device::tearDown();
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador