mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Related-To: NEO-3639 Change-Id: I9442402a109174bbf9345d8451dba8e7ddb8c1d9 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
19 lines
442 B
C++
19 lines
442 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/os_interface/os_context.h"
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
using namespace NEO;
|
|
|
|
TEST(OSContext, whenCreatingDefaultOsContextThenExpectInitializedAlways) {
|
|
OsContext *osContext = OsContext::create(nullptr, 0, 0, aub_stream::ENGINE_RCS, PreemptionMode::Disabled, false);
|
|
EXPECT_TRUE(osContext->isInitialized());
|
|
delete osContext;
|
|
}
|