mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Add isInlineDataRequired() to DispatchKernelEncoderI
Change-Id: I0baaeddc16fe068f6c1ddd6c6697d447c4411055 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
@@ -39,6 +39,7 @@ struct DispatchKernelEncoderI {
|
||||
virtual const void *getDynamicStateHeap() = 0;
|
||||
virtual const void *getCrossThread() = 0;
|
||||
virtual const void *getPerThread() = 0;
|
||||
virtual bool isInlineDataRequired() = 0;
|
||||
virtual ~DispatchKernelEncoderI() = default;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -46,6 +46,7 @@ struct MockDispatchKernelEncoder : public DispatchKernelEncoderI {
|
||||
MOCK_METHOD0(getDynamicStateHeap, const void *());
|
||||
MOCK_METHOD0(getCrossThread, const void *());
|
||||
MOCK_METHOD0(getPerThread, const void *());
|
||||
MOCK_METHOD0(isInlineDataRequired, bool());
|
||||
|
||||
void expectAnyMockFunctionCall();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user