| 212 | } |
| 213 | |
| 214 | void |
| 215 | BlasBase::TearDown() |
| 216 | { |
| 217 | cl_uint i; |
| 218 | |
| 219 | for (i = 0; i < numCommandQueues_; i++) { |
| 220 | clReleaseCommandQueue(commandQueues_[i]); |
| 221 | } |
| 222 | |
| 223 | if (context_ != NULL) { |
| 224 | clReleaseContext(context_); |
| 225 | context_ = NULL; |
| 226 | } |
| 227 | |
| 228 | primaryDevice_ = additionalDevice_ = NULL; |
| 229 | |
| 230 | clblasTeardown(); |
| 231 | } |
| 232 | |
| 233 | bool |
| 234 | BlasBase::initialized() |
nothing calls this directly
no test coverage detected