mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
KernelInfo Refactor
Using kernelDescriptor.kernelMetadata.kernelName instead of kernelInfo.name Change-Id: I11f5721d8072a3beccb573cec4bea56cf14cf0f9
This commit is contained in:
committed by
sys_ocldev
parent
7e45c396a2
commit
9f08a60a20
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user