Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 030f3928 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

header: Fix the includes required in headers and remove duplicated declaration of MPI_COMM_WORLD

parent 4e1b27f5
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !434. Comments created here will be created in the context of that merge request.
......@@ -23,6 +23,13 @@
#ifndef _chameleon_runtime_struct_h_
#define _chameleon_runtime_struct_h_
#include "chameleon/types.h"
BEGIN_C_DECLS
/**
* Datatype for distributed version
*/
#if defined(CHAMELEON_USE_MPI)
#include <mpi.h>
#else
......@@ -34,8 +41,6 @@ typedef uintptr_t MPI_Comm;
#endif
#endif
BEGIN_C_DECLS
/**
* @brief Ids of the runtime supported by the RUNTIME API
*/
......
......@@ -25,6 +25,8 @@
#ifndef _chameleon_struct_h_
#define _chameleon_struct_h_
#include "chameleon/config.h"
#include "chameleon/types.h"
#include "chameleon/constants.h"
BEGIN_C_DECLS
......
Subproject commit 5bfc9b0c5db8f1dc26ca1d100308ca087c7f662e
Subproject commit d7f570b31ed33023591d03f1b99a6dc1245b1549
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment