mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Return error when failing on submission
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
38f9df26dd
commit
394c0e90e1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -13,9 +13,9 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
void DrmAllocation::bindBOs(OsContext *osContext, uint32_t vmHandleId, std::vector<BufferObject *> *bufferObjects, bool bind) {
|
||||
int DrmAllocation::bindBOs(OsContext *osContext, uint32_t vmHandleId, std::vector<BufferObject *> *bufferObjects, bool bind) {
|
||||
auto bo = this->getBO();
|
||||
bindBO(bo, osContext, vmHandleId, bufferObjects, bind);
|
||||
return bindBO(bo, osContext, vmHandleId, bufferObjects, bind);
|
||||
}
|
||||
|
||||
bool DrmAllocation::setCacheRegion(Drm *drm, CacheRegion regionIndex) {
|
||||
|
||||
Reference in New Issue
Block a user