| 86 | }; |
| 87 | |
| 88 | TEST_F(OCLExtContext, PushAndPop) { |
| 89 | int dCount = getDeviceCount(); |
| 90 | info(); |
| 91 | |
| 92 | afcl::addDevice(deviceId, context, queue); |
| 93 | ASSERT_EQ(true, dCount + 1 == getDeviceCount()); |
| 94 | |
| 95 | afcl::deleteDevice(deviceId, context); |
| 96 | ASSERT_EQ(true, dCount == getDeviceCount()); |
| 97 | info(); |
| 98 | } |
| 99 | |
| 100 | TEST_F(OCLExtContext, set) { |
| 101 | int dCount = getDeviceCount(); // Before user device addition |
nothing calls this directly
no test coverage detected