compute-runtime/unit_tests/api/cl_unload_platform_compiler...

23 lines
481 B
C++

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "unit_tests/fixtures/buffer_fixture.h"
#include "cl_api_tests.h"
using namespace NEO;
typedef api_tests clUnloadPlatformCompilerTests;
namespace ULT {
TEST_F(clUnloadPlatformCompilerTests, WhenUnloadingPlatformCompilerThenOutOfHostMemoryErrorIsReturned) {
auto retVal = clUnloadPlatformCompiler(nullptr);
EXPECT_EQ(CL_OUT_OF_HOST_MEMORY, retVal);
}
} // namespace ULT