| 285 | /////////////////////////////////////////////////////////////////////////// |
| 286 | |
| 287 | void MPIOffloadDevice::commit() |
| 288 | { |
| 289 | Device::commit(); |
| 290 | // MPI Device defaults to not setting affinity |
| 291 | if (threadAffinity == AUTO_DETECT) { |
| 292 | threadAffinity = DEAFFINITIZE; |
| 293 | } |
| 294 | |
| 295 | if (!initialized) |
| 296 | initializeDevice(); |
| 297 | } |
| 298 | |
| 299 | /////////////////////////////////////////////////////////////////////////// |
| 300 | // Device Implementation ////////////////////////////////////////////////// |