2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2018-11-22 20:57:10 +08:00
|
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
template <typename GfxFamily>
|
|
|
|
cl_int CommandQueueHw<GfxFamily>::flush() {
|
2018-11-22 20:57:10 +08:00
|
|
|
getCommandStreamReceiver().flushBatchedSubmissions();
|
2017-12-21 07:45:38 +08:00
|
|
|
return CL_SUCCESS;
|
|
|
|
}
|
|
|
|
} // namespace OCLRT
|