compute-runtime/runtime/command_queue/flush.h

17 lines
297 B
C++

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
namespace NEO {
template <typename GfxFamily>
cl_int CommandQueueHw<GfxFamily>::flush() {
getCommandStreamReceiver().flushBatchedSubmissions();
return CL_SUCCESS;
}
} // namespace NEO