mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add control on platform life cycle.
Change-Id: I5c24b41747d822b71dd57e9a949cf25fcc78a453
This commit is contained in:

committed by
sys_ocldev

parent
0f91c3bc47
commit
a21c0a0074
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@ -76,6 +76,6 @@ TEST(clGetPlatformIDsNegativeTests, WhenInitFailedThenErrorIsReturned) {
|
||||
EXPECT_EQ(0u, numPlatforms);
|
||||
EXPECT_EQ(nullptr, platformRet);
|
||||
|
||||
platform()->shutdown();
|
||||
platformImpl.reset(nullptr);
|
||||
}
|
||||
} // namespace ULT
|
||||
|
Reference in New Issue
Block a user