| 1443 | } |
| 1444 | |
| 1445 | void copyFloatToColor3(tensor<float>& srcImage) |
| 1446 | { |
| 1447 | for (int z = 0; z < this->getDepth(); z++) |
| 1448 | { |
| 1449 | #pragma omp parallel for |
| 1450 | for (int y = 0; y < this->getHeight(); y++) |
| 1451 | { |
| 1452 | for (int x = 0; x < this->getWidth(); x++) |
| 1453 | { |
| 1454 | this->set(x, y, z, color3(srcImage.get(x, y, z))); |
| 1455 | } |
| 1456 | } |
| 1457 | } |
| 1458 | } |
| 1459 | #else // FLIP_ENABLE_CUDA |
| 1460 | void synchronizeHost(void) |
| 1461 | { |
no test coverage detected