mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
refactor: split sync buffer and region allocation creation code
- split the allocation code from command list or kernel - allow to call allocation code in all parts of the driver Related-To: NEO-13350 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f2b0dad964
commit
c5ed6bf73c
@@ -25,8 +25,6 @@ class SyncBufferHandler : NonCopyableOrMovableClass {
|
||||
|
||||
SyncBufferHandler(Device &device);
|
||||
|
||||
template <typename KernelT>
|
||||
void prepareForEnqueue(size_t workGroupsCount, KernelT &kernel);
|
||||
void makeResident(CommandStreamReceiver &csr);
|
||||
|
||||
std::pair<GraphicsAllocation *, size_t> obtainAllocationAndOffset(size_t requiredSize);
|
||||
|
||||
Reference in New Issue
Block a user