Files
compute-runtime/runtime/command_queue/flush.h
Dunajski, Bartosz 3ad33bf1b8 Allow Device creating multiple CSRs [3/n]
Add CSR from Device to CommandQueue

Change-Id: Iaccf3c73d25e357242837677777d0513e81f520e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-23 10:51:34 +01:00

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