Skip to content

armci_giov_t struct member name mismatch between source and docs #278

@jeffhammond

Description

@jeffhammond

TL;DR ptr_ar_len vs ptr_array_len.

This is easy to figure out but means that one cannot write code based on the docs.

https://hpc.pnl.gov/armci/documentation.htm says

DATA TYPE:
       typedef struct {
         void **src_ptr_ar;  - Source starting addresses of each data segment.
         void **dst_ptr_ar;  - Destination starting addresses of each data segment.
         int bytes;         - The length of each segment in bytes.
         int ptr_ar_len;    - Number of data segment.
       }armci_giov_t;

source says:

typedef struct {
    void **src_ptr_array;
    void **dst_ptr_array;
    int  ptr_array_len;
    int bytes;
} armci_giov_t;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions