cc-hpc-itwm / GPI-2

GPI-2

Home Page:http://www.gpi-site.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`gaspi_state_vector_t` has the wrong type

Flamefire opened this issue · comments

Per GASPI specification gaspi_state_vector_t is defined as:

typedef vector<gaspi_state_t> gaspi_state_vector_t

this does not match the current define in GPI2 where it is a char*

I wonder how the spec can talk about vector? What does it mean?

vector<gaspi_return_t>
gaspi_returns_t
The vector type with return codes for individual processes. The length of the
vector equals the number of processes in the Gaspi program.

Although vector<T> is not defined (IMO a bug in GASPI standard) the meaning is pretty clear: In case of C a simple array of T or simply T*