COSC-3P93-Project/Step 3/include/engine/mpi.h

30 lines
518 B
C++

//
// Created by brett on 22/11/22.
//
#ifndef STEP_3_MPI_H
#define STEP_3_MPI_H
#include <config.h>
#ifdef USE_MPI
#include <mpi.h>
#include <queue>
#include <engine/raytracing.h>
namespace Raytracing {
extern int numberOfProcesses;
extern int currentProcessID;
class MPI {
public:
static void init(int argc, char** argv);
static std::queue<RaycasterImageBounds> getCurrentImageRegionAssociation(RayCaster& raycaster);
};
}
#endif
#endif //STEP_3_MPI_H