mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

Related-To: NEO-2236 Change-Id: Ibc45cd114fcfc5c1792267ae4215c69c9b66b1f3 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
21 lines
393 B
C++
21 lines
393 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "cl_api_tests.h"
|
|
|
|
using namespace NEO;
|
|
|
|
typedef api_tests clUnloadCompilerTests;
|
|
|
|
namespace ULT {
|
|
|
|
TEST_F(clUnloadCompilerTests, WhenUnloadingCompilerThenOutOfHostMemoryErrorIsReturned) {
|
|
auto retVal = clUnloadCompiler();
|
|
EXPECT_EQ(CL_OUT_OF_HOST_MEMORY, retVal);
|
|
}
|
|
} // namespace ULT
|