mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Add getter of Scratch Controller to the CommandStreamReceiver class
Change-Id: Iba0a9d7e4a9f141e1e31de428d50e7c745ad993a Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
@@ -178,6 +178,10 @@ class CommandStreamReceiver {
|
||||
BlitterConstants::BlitWithHostPtrDirection copyDirection, CsrDependencies &csrDependencies);
|
||||
virtual void blitBuffer(Buffer &dstBuffer, Buffer &srcBuffer, uint64_t sourceSize, CsrDependencies &csrDependencies) = 0;
|
||||
|
||||
ScratchSpaceController *getScratchSpaceController() const {
|
||||
return scratchSpaceController.get();
|
||||
}
|
||||
|
||||
protected:
|
||||
void cleanupResources();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user