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() {
152
152
}
153
153
}
154
154
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
-
165
155
KernelsEnvironment *KernelsEnvironment::instance = nullptr ;
166
156
167
157
KernelsEnvironment::KernelsEnvironment (int argc, char **argv,
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ struct DevicesEnvironment : PlatformEnvironment {
48
48
virtual ~DevicesEnvironment () override = default ;
49
49
50
50
virtual void SetUp () override ;
51
- virtual void TearDown () override ;
52
51
53
52
inline const std::vector<DeviceTuple> &GetDevices () const { return devices; }
54
53
Original file line number Diff line number Diff line change @@ -90,9 +90,6 @@ struct urAllDevicesTest : urPlatformTest {
90
90
}
91
91
92
92
void TearDown () override {
93
- for (auto &device : devices) {
94
- EXPECT_SUCCESS (urDeviceRelease (device));
95
- }
96
93
UUR_RETURN_ON_FATAL_FAILURE (urPlatformTest::TearDown ());
97
94
}
98
95
@@ -160,9 +157,6 @@ struct urAllDevicesTestWithParam : urPlatformTestWithParam<T> {
160
157
}
161
158
162
159
void TearDown () override {
163
- for (auto &device : devices) {
164
- EXPECT_SUCCESS (urDeviceRelease (device));
165
- }
166
160
UUR_RETURN_ON_FATAL_FAILURE (urPlatformTestWithParam<T>::TearDown ());
167
161
}
168
162
You can’t perform that action at this time.
0 commit comments