NewMadeleine

Documentation

« back to PM2 home.
nm_colldrv_req_s Struct Reference

#include <nm_colldrv.h>

Collaboration diagram for nm_colldrv_req_s:

Public Types

enum  nm_colldrv_op_e {
  NM_COLLDRV_OP_NONE , NM_COLLDRV_OP_WAITALL , NM_COLLDRV_OP_BARRIER , NM_COLLDRV_OP_BCAST ,
  NM_COLLDRV_OP_SCATTER , NM_COLLDRV_OP_GATHER
}
 

Data Fields

struct nm_core_pollable_s pollable
 hook to make this object pollable by the core
 
struct nm_colldrv_s * p_colldrv
 the colldrv managing this req
 
nm_core_tag_t core_tag
 
int root
 index of root in p_gates
 
int self
 index of self in p_gates
 
enum nm_colldrv_req_s::nm_colldrv_op_e op
 
struct nm_data_s data
 user data
 
void * p_buf
 buffer supplied by the driver
 
nm_len_t buf_len
 length of the buffer
 
nm_gate_t * p_gates
 gates to run the collective on
 
int n_gates
 length of p_gates array
 
const struct nm_uuid_binary_s * p_group_uuid
 UUID of the group.
 
void * p_drv_specific
 
nm_colldrv_req_notifier_t p_notify
 function called upon req termination
 
void * p_notify_ref
 ref passed to p_notify
 

Detailed Description

Definition at line 29 of file nm_colldrv.h.

Member Enumeration Documentation

◆ nm_colldrv_op_e

Enumerator
NM_COLLDRV_OP_NONE 
NM_COLLDRV_OP_WAITALL 

wait all nodes in group

NM_COLLDRV_OP_BARRIER 

barrier

NM_COLLDRV_OP_BCAST 

bcast buffer to all nodes in group

NM_COLLDRV_OP_SCATTER 
NM_COLLDRV_OP_GATHER 

Definition at line 40 of file nm_colldrv.h.

Field Documentation

◆ buf_len

nm_len_t nm_colldrv_req_s::buf_len

length of the buffer

Definition at line 51 of file nm_colldrv.h.

◆ core_tag

nm_core_tag_t nm_colldrv_req_s::core_tag

Definition at line 37 of file nm_colldrv.h.

◆ data

struct nm_data_s nm_colldrv_req_s::data

user data

Definition at line 49 of file nm_colldrv.h.

◆ n_gates

int nm_colldrv_req_s::n_gates

length of p_gates array

Definition at line 53 of file nm_colldrv.h.

◆ op

enum nm_colldrv_req_s::nm_colldrv_op_e nm_colldrv_req_s::op

◆ p_buf

void* nm_colldrv_req_s::p_buf

buffer supplied by the driver

Definition at line 50 of file nm_colldrv.h.

◆ p_colldrv

struct nm_colldrv_s* nm_colldrv_req_s::p_colldrv

the colldrv managing this req

Definition at line 36 of file nm_colldrv.h.

◆ p_drv_specific

void* nm_colldrv_req_s::p_drv_specific

Definition at line 55 of file nm_colldrv.h.

◆ p_gates

nm_gate_t* nm_colldrv_req_s::p_gates

gates to run the collective on

Definition at line 52 of file nm_colldrv.h.

◆ p_group_uuid

const struct nm_uuid_binary_s* nm_colldrv_req_s::p_group_uuid

UUID of the group.

Definition at line 54 of file nm_colldrv.h.

◆ p_notify

nm_colldrv_req_notifier_t nm_colldrv_req_s::p_notify

function called upon req termination

Definition at line 56 of file nm_colldrv.h.

◆ p_notify_ref

void* nm_colldrv_req_s::p_notify_ref

ref passed to p_notify

Definition at line 57 of file nm_colldrv.h.

◆ pollable

struct nm_core_pollable_s nm_colldrv_req_s::pollable

hook to make this object pollable by the core

Definition at line 34 of file nm_colldrv.h.

◆ root

int nm_colldrv_req_s::root

index of root in p_gates

Definition at line 38 of file nm_colldrv.h.

◆ self

int nm_colldrv_req_s::self

index of self in p_gates

Definition at line 39 of file nm_colldrv.h.


The documentation for this struct was generated from the following file: