mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Move OsContext id setting to constructor.
Change-Id: I1b809befc02536257800e3667307b8deabd5c95d
This commit is contained in:
committed by
sys_ocldev
parent
8e33ec04c5
commit
581805cc88
@@ -37,7 +37,7 @@ TEST(OsInterfaceTest, GivenLinuxOsInterfaceWhenDeviceHandleQueriedthenZeroIsRetu
|
||||
|
||||
TEST(OsContextTest, WhenOsContextIsCreatedThenImplIsAvailable) {
|
||||
OSInterface osInterface;
|
||||
auto osContext = std::make_unique<OsContext>(&osInterface);
|
||||
auto osContext = std::make_unique<OsContext>(&osInterface, 0u);
|
||||
EXPECT_NE(nullptr, osContext->get());
|
||||
}
|
||||
} // namespace OCLRT
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user