mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
refactor: add output buffer argument to store register to memory encoder
Related-To: NEO-10064 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0ebaf7e1e2
commit
0bf8e8727e
@@ -264,7 +264,8 @@ struct EncodeMathMMIO {
|
||||
uint32_t regOffset,
|
||||
uint32_t immVal,
|
||||
uint64_t dstAddress,
|
||||
bool workloadPartition);
|
||||
bool workloadPartition,
|
||||
void **outCmdBuffer);
|
||||
|
||||
static void encodeAlu(MI_MATH_ALU_INST_INLINE *pAluParam, AluRegisters srcA, AluRegisters srcB, AluRegisters op, AluRegisters dest, AluRegisters result);
|
||||
|
||||
@@ -385,7 +386,7 @@ struct EncodeStoreMMIO {
|
||||
using MI_STORE_REGISTER_MEM = typename GfxFamily::MI_STORE_REGISTER_MEM;
|
||||
|
||||
static const size_t size = sizeof(MI_STORE_REGISTER_MEM);
|
||||
static void encode(LinearStream &csr, uint32_t offset, uint64_t address, bool workloadPartition);
|
||||
static void encode(LinearStream &csr, uint32_t offset, uint64_t address, bool workloadPartition, void **outCmdBuffer);
|
||||
static void encode(MI_STORE_REGISTER_MEM *cmdBuffer, uint32_t offset, uint64_t address, bool workloadPartition);
|
||||
static void appendFlags(MI_STORE_REGISTER_MEM *storeRegMem, bool workloadPartition);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user