OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MPI_INT
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/Sema/
warn-type-safety.cpp
8
#define
MPI_INT
OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_int)
53
c->MPI_Send(int_buf, 1,
MPI_INT
); // no-warning
55
c->MPI_Send(0, 0,
MPI_INT
); // no-warning
56
c->MPI_Send(nullptr, 0,
MPI_INT
); // no-warning
59
c->MPI_Send(i, 1,
MPI_INT
); // no-warning
70
test2(c, int_buf,
MPI_INT
);
warn-type-safety-mpi-hdf5.c
45
#define
MPI_INT
OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_int)
76
#define
MPI_INT
((MPI_Datatype) 0xa0000002)
148
MPI_Send(int_buf, 1,
MPI_INT
); // no-warning
151
MPI_Send(0, 0,
MPI_INT
); // no-warning
152
MPI_Send(NULL, 0,
MPI_INT
); // no-warning
159
MPI_Send(long_buf1, 1,
MPI_INT
); // expected-warning {{argument type 'long *' doesn't match specified 'mpi' type tag that requires 'int *'}}
169
MPI_Gather(long_buf1, 1,
MPI_INT
, // expected-warning {{argument type 'long *' doesn't match specified 'mpi' type tag that requires 'int *'}}
170
long_buf2, 1,
MPI_INT
); // expected-warning {{argument type 'long *' doesn't match specified 'mpi' type tag that requires 'int *'}}
176
MPI_Send((int *) char_buf, 255,
MPI_INT
); // no-warning
183
MPI_Gather(MPI_IN_PLACE, 0,
MPI_INT
,
[
all
...]
Completed in 143 milliseconds