mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Add CSR from Device to CommandQueue Change-Id: Iaccf3c73d25e357242837677777d0513e81f520e Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
17 lines
301 B
C++
17 lines
301 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace OCLRT {
|
|
template <typename GfxFamily>
|
|
cl_int CommandQueueHw<GfxFamily>::flush() {
|
|
getCommandStreamReceiver().flushBatchedSubmissions();
|
|
return CL_SUCCESS;
|
|
}
|
|
} // namespace OCLRT
|