mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Append proper flag to buffer object
Related-To: NEO-4338 Change-Id: I87604992fdfc20cd02773999f7c019344e8e3213 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
c08e3dde82
commit
70ac7ec80e
@@ -54,12 +54,13 @@ bool DrmDirectSubmission<GfxFamily, Dispatcher>::submit(uint64_t gpuAddress, siz
|
||||
drm_i915_gem_exec_object2 execObject{};
|
||||
|
||||
bool ret = false;
|
||||
for (const auto &drmContextId : drmContextIds) {
|
||||
for (uint32_t drmIterator = 0u; drmIterator < drmContextIds.size(); drmIterator++) {
|
||||
ret |= bb->exec(static_cast<uint32_t>(size),
|
||||
0,
|
||||
execFlags,
|
||||
false,
|
||||
drmContextId,
|
||||
drmIterator,
|
||||
drmContextIds[drmIterator],
|
||||
nullptr,
|
||||
0,
|
||||
&execObject);
|
||||
|
||||
Reference in New Issue
Block a user