/usr/include/armcix.h is in libarmci-mpi-dev 0.0~git20160222-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*
* Copyright (C) 2010. See COPYRIGHT in top-level directory.
*/
#ifndef _ARMCIX_H_
#define _ARMCIX_H_
#include <armci.h>
#include <armciconf.h>
#if HAVE_STDINT_H
# include <stdint.h>
#elif HAVE_INTTYPES_H
# include <inttypes.h>
#endif
/** Processor group extensions.
*/
int ARMCIX_Group_split(ARMCI_Group *parent, int color, int key, ARMCI_Group *new_group);
int ARMCIX_Group_dup(ARMCI_Group *parent, ARMCI_Group *new_group);
/** Mutex handles: These improve on basic ARMCI mutexes by allowing you to
* create multiple batches of mutexes. This is needed to allow libraries access to
* mutexes.
*/
struct armcix_mutex_hdl_s {
int my_count;
int max_count;
ARMCI_Group grp;
MPI_Win *windows;
uint8_t **bases;
};
typedef struct armcix_mutex_hdl_s * armcix_mutex_hdl_t;
armcix_mutex_hdl_t ARMCIX_Create_mutexes_hdl(int count, ARMCI_Group *pgroup);
int ARMCIX_Destroy_mutexes_hdl(armcix_mutex_hdl_t hdl);
void ARMCIX_Lock_hdl(armcix_mutex_hdl_t hdl, int mutex, int proc);
int ARMCIX_Trylock_hdl(armcix_mutex_hdl_t hdl, int mutex, int proc);
void ARMCIX_Unlock_hdl(armcix_mutex_hdl_t hdl, int mutex, int proc);
void ARMCIX_Progress(void);
#endif /* _ARMCIX_H_ */
|