Blame src/include/mpir_refcount.h
|
Packit Service |
c5cf8c |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
|
|
Packit Service |
c5cf8c |
/*
|
|
Packit Service |
c5cf8c |
* (C) 2001 by Argonne National Laboratory.
|
|
Packit Service |
c5cf8c |
* See COPYRIGHT in top-level directory.
|
|
Packit Service |
c5cf8c |
*/
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#ifndef MPIR_REFCOUNT_H_INCLUDED
|
|
Packit Service |
c5cf8c |
#define MPIR_REFCOUNT_H_INCLUDED
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#include "mpi.h"
|
|
Packit Service |
c5cf8c |
#include "mpichconf.h"
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#if MPICH_THREAD_LEVEL == MPI_THREAD_MULTIPLE
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#if MPICH_THREAD_GRANULARITY == MPICH_THREAD_GRANULARITY__GLOBAL
|
|
Packit Service |
c5cf8c |
#include "mpir_refcount_global.h"
|
|
Packit Service |
c5cf8c |
/* For the VNI granularity, is this overkill? */
|
|
Packit Service |
c5cf8c |
#elif MPICH_THREAD_GRANULARITY == MPICH_THREAD_GRANULARITY__POBJ || \
|
|
Packit Service |
c5cf8c |
MPICH_THREAD_GRANULARITY == MPICH_THREAD_GRANULARITY__VNI
|
|
Packit Service |
c5cf8c |
#include "mpir_refcount_pobj.h"
|
|
Packit Service |
c5cf8c |
#endif
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#else
|
|
Packit Service |
c5cf8c |
#include "mpir_refcount_single.h"
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#endif
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#endif /* MPIR_REFCOUNT_H_INCLUDED */
|