mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Perform deep-copy of helper's name
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
595cfebaef
commit
60451b590d
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -309,7 +309,7 @@ struct LrcaHelper {
|
||||
int aubHintCommandBuffer = DataTypeHintValues::TraceCommandBuffer;
|
||||
int aubHintBatchBuffer = DataTypeHintValues::TraceBatchBuffer;
|
||||
|
||||
const char *name = "XCS";
|
||||
std::string name = "XCS";
|
||||
uint32_t mmioBase = 0;
|
||||
|
||||
size_t sizeLRCA = 0x2000;
|
||||
@@ -400,8 +400,7 @@ struct LrcaHelperCcs : public LrcaHelper {
|
||||
|
||||
struct LrcaHelperLinkBcs : public LrcaHelperBcs {
|
||||
LrcaHelperLinkBcs(uint32_t base, uint32_t engineId) : LrcaHelperBcs(base) {
|
||||
std::string nameStr("BCS" + std::to_string(engineId));
|
||||
name = nameStr.c_str();
|
||||
name = "BCS" + std::to_string(engineId);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user