Skip to content

Commit 1be3db8

Browse files
raffenetggouaillardet
authored andcommitted
[mpich romio 5a036e7] mpl/cuda: Fix header include order
> Pulled in from mpich romio, branch "main". > Their commit message is below. > > This is part of a batch of commits from the > following set of PRs: > * pmodels/mpich#4943 > -- darray fix which contains a flatten fix > 73a3eba > c4b5762 > * pmodels/mpich#4995 > -- write strided fix > bbb5210 > * pmodels/mpich#5100 > -- build fix for -Wpedantic > ad0e435 > * pmodels/mpich#5099 > -- build fix, they had let file-system=...gpfs bit rot > e1d42af > 313289a > 83bbb82 > * pmodels/mpich#5150 > -- build fix, configure-related _GNU_SOURCE > a712b56 > 5a036e7 > * pmodels/mpich#5184 > -- build fix, continuation of _GNU_SOURCE fix > d97c4ee mpl.h must be included before any system headers so that config settings are taken into account. Fixes an issue where aligned_alloc may be used without a declaration. Signed-off-by: Mark Allen <markalle@us.ibm.com>
1 parent c06341e commit 1be3db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rd-party/romio341/mpl/src/gpu/mpl_gpu_cuda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* See COPYRIGHT in top-level directory.
44
*/
55

6-
#include <dlfcn.h>
76
#include "mpl.h"
7+
#include <dlfcn.h>
88
#include <assert.h>
99

1010
#define CUDA_ERR_CHECK(ret) if (unlikely((ret) != cudaSuccess)) goto fn_fail

0 commit comments

Comments
 (0)