File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -152,16 +152,6 @@ void DevicesEnvironment::SetUp() {
152152 }
153153}
154154
155- void DevicesEnvironment::TearDown () {
156- PlatformEnvironment::TearDown ();
157- for (auto device_tuple : devices) {
158- if (urDeviceRelease (device_tuple.device )) {
159- error = " urDeviceRelease() failed" ;
160- return ;
161- }
162- }
163- }
164-
165155KernelsEnvironment *KernelsEnvironment::instance = nullptr ;
166156
167157KernelsEnvironment::KernelsEnvironment (int argc, char **argv,
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ struct DevicesEnvironment : PlatformEnvironment {
4848 virtual ~DevicesEnvironment () override = default ;
4949
5050 virtual void SetUp () override ;
51- virtual void TearDown () override ;
5251
5352 inline const std::vector<DeviceTuple> &GetDevices () const { return devices; }
5453
Original file line number Diff line number Diff line change @@ -90,9 +90,6 @@ struct urAllDevicesTest : urPlatformTest {
9090 }
9191
9292 void TearDown () override {
93- for (auto &device : devices) {
94- EXPECT_SUCCESS (urDeviceRelease (device));
95- }
9693 UUR_RETURN_ON_FATAL_FAILURE (urPlatformTest::TearDown ());
9794 }
9895
@@ -160,9 +157,6 @@ struct urAllDevicesTestWithParam : urPlatformTestWithParam<T> {
160157 }
161158
162159 void TearDown () override {
163- for (auto &device : devices) {
164- EXPECT_SUCCESS (urDeviceRelease (device));
165- }
166160 UUR_RETURN_ON_FATAL_FAILURE (urPlatformTestWithParam<T>::TearDown ());
167161 }
168162
You can’t perform that action at this time.
0 commit comments