mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Refactor hardware context programming
- expose programHardwareContext in CSR Change-Id: I05caa352e3b7268c3e07edd6043316ecbb24f815 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
639a5a64cd
commit
23ad10731b
@ -40,6 +40,8 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
uint32_t taskLevel, DispatchFlags &dispatchFlags, Device &device) override;
|
||||
|
||||
bool flushBatchedSubmissions() override;
|
||||
void programHardwareContext() override;
|
||||
size_t getCmdsSizeForHardwareContext() const override;
|
||||
|
||||
static void addBatchBufferEnd(LinearStream &commandStream, void **patchLocation);
|
||||
void programEndingCmd(LinearStream &commandStream, void **patchLocation, bool directSubmissionEnabled);
|
||||
@ -109,7 +111,7 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
void programEngineModeEpliogue(LinearStream &csr, const DispatchFlags &dispatchFlags);
|
||||
|
||||
void programEnginePrologue(LinearStream &csr);
|
||||
size_t getCmdSizeForPrologue(const DispatchFlags &dispatchFlags) const;
|
||||
size_t getCmdSizeForPrologue() const;
|
||||
|
||||
void addClearSLMWorkAround(typename GfxFamily::PIPE_CONTROL *pCmd);
|
||||
void addPipeControlCmd(LinearStream &commandStream, PipeControlArgs &args);
|
||||
|
Reference in New Issue
Block a user