mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
L3 programming refactor 2/n
- Rename misnamed test function - Adjust 2 tests, so they use CSR size getters instead of hardcoded values - Move getSizeRequiredPreambleCS() into CommandStreamReceiverHw class - Improve PreambleHelper size estimating Change-Id: I3f292d50e08f3d10d190c9f8722e1f0498481154
This commit is contained in:
committed by
sys_ocldev
parent
fb97a5c747
commit
44d35b3534
@@ -60,6 +60,7 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
|
||||
size_t getRequiredCmdStreamSize(const DispatchFlags &dispatchFlags);
|
||||
size_t getRequiredCmdStreamSizeAligned(const DispatchFlags &dispatchFlags);
|
||||
size_t getRequiredCmdSizeForPreamble() const;
|
||||
size_t getCmdSizeForPreemption(const DispatchFlags &dispatchFlags) const;
|
||||
size_t getCmdSizeForL3Config() const;
|
||||
size_t getCmdSizeForPipelineSelect() const;
|
||||
@@ -107,6 +108,4 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
std::unique_ptr<KmdNotifyHelper> kmdNotifyHelper;
|
||||
};
|
||||
|
||||
template <typename GfxFamily>
|
||||
size_t getSizeRequiredPreambleCS(const Device &device);
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user