mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Extend encode class for start and end hw commands
Related-To: NEO-5019 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
024354469f
commit
a4b9b3b837
@@ -400,10 +400,19 @@ struct EncodeBatchBufferStartOrEnd {
|
||||
using MI_BATCH_BUFFER_START = typename GfxFamily::MI_BATCH_BUFFER_START;
|
||||
using MI_BATCH_BUFFER_END = typename GfxFamily::MI_BATCH_BUFFER_END;
|
||||
|
||||
static constexpr size_t getBatchBufferStartSize() {
|
||||
return sizeof(MI_BATCH_BUFFER_START);
|
||||
}
|
||||
|
||||
static constexpr size_t getBatchBufferEndSize() {
|
||||
return sizeof(MI_BATCH_BUFFER_END);
|
||||
}
|
||||
|
||||
static void programBatchBufferStart(LinearStream *commandStream,
|
||||
uint64_t address,
|
||||
bool secondLevel);
|
||||
static void programBatchBufferEnd(CommandContainer &container);
|
||||
static void programBatchBufferEnd(LinearStream &commandStream);
|
||||
};
|
||||
|
||||
template <typename GfxFamily>
|
||||
|
||||
Reference in New Issue
Block a user