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

26 lines
323 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>
namespace Raytracing {
extern int numberOfProcesses;
extern int currentProcessID;
class MPI {
public:
static void init();
};
}
#endif
#endif //STEP_3_MPI_H