1
1
openmpi/opal/mca/common/cuda
Brian Barrett e9e4d2a4bc Handle asprintf errors with opal_asprintf wrapper
The Open MPI code base assumed that asprintf always behaved like
the FreeBSD variant, where ptr is set to NULL on error.  However,
the C standard (and Linux) only guarantee that the return code will
be -1 on error and leave ptr undefined.  Rather than fix all the
usage in the code, we use opal_asprintf() wrapper instead, which
guarantees the BSD-like behavior of ptr always being set to NULL.
In addition to being correct, this will fix many, many warnings
in the Open MPI code base.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2018-10-08 16:43:53 -07:00
..
common_cuda.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
common_cuda.h opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
configure.m4 George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
help-mpi-common-cuda.txt cuda: add option to remove warning about missing libcuda. 2018-05-24 14:56:46 -07:00
Makefile.am configury: clean up .so version numbers 2015-12-18 12:50:23 -05:00
owner.txt add owner files to opa/ompi/orte mca directories 2015-02-22 15:10:23 -07:00