KernelInfo Refactor

Using kernelDescriptor.kernelMetadata.kernelName instead of
kernelInfo.name

Change-Id: I11f5721d8072a3beccb573cec4bea56cf14cf0f9
This commit is contained in:
Krystian Chmielewski
2020-10-19 20:36:05 +02:00
committed by sys_ocldev
parent 7e45c396a2
commit 9f08a60a20
40 changed files with 133 additions and 134 deletions

View File

@@ -764,7 +764,7 @@ void AUBCommandStreamReceiverHw<GfxFamily>::dumpAllocation(GraphicsAllocation &g
template <typename GfxFamily>
AubSubCaptureStatus AUBCommandStreamReceiverHw<GfxFamily>::checkAndActivateAubSubCapture(const MultiDispatchInfo &dispatchInfo) {
std::string kernelName = dispatchInfo.peekMainKernel()->getKernelInfo().name;
std::string kernelName = dispatchInfo.peekMainKernel()->getKernelInfo().kernelDescriptor.kernelMetadata.kernelName;
auto status = subCaptureManager->checkAndActivateSubCapture(kernelName);
if (status.isActive) {
std::string subCaptureFile = subCaptureManager->getSubCaptureFileName(kernelName);

View File

@@ -547,7 +547,7 @@ AubSubCaptureStatus TbxCommandStreamReceiverHw<GfxFamily>::checkAndActivateAubSu
return {false, false};
}
std::string kernelName = (dispatchInfo.empty() ? "" : dispatchInfo.peekMainKernel()->getKernelInfo().name);
std::string kernelName = (dispatchInfo.empty() ? "" : dispatchInfo.peekMainKernel()->getKernelInfo().kernelDescriptor.kernelMetadata.kernelName);
auto status = subCaptureManager->checkAndActivateSubCapture(kernelName);
if (status.isActive && !status.wasActiveInPreviousEnqueue) {
dumpTbxNonWritable = true;