File tree Expand file tree Collapse file tree 7 files changed +32
-65
lines changed Expand file tree Collapse file tree 7 files changed +32
-65
lines changed Original file line number Diff line number Diff line change @@ -388,9 +388,15 @@ prototype_sources = \
388
388
status_f082f.c.in \
389
389
status_f2c.c.in \
390
390
status_f2f08.c.in \
391
+ status_get_error.c.in \
392
+ status_get_source.c.in \
393
+ status_get_tag.c.in \
391
394
status_set_cancelled.c.in \
392
395
status_set_elements.c.in \
393
396
status_set_elements_x.c.in \
397
+ status_set_error.c.in \
398
+ status_set_source.c.in \
399
+ status_set_tag.c.in \
394
400
testall.c.in \
395
401
testany.c.in \
396
402
test.c.in \
@@ -820,9 +826,15 @@ interface_profile_sources = \
820
826
generated_status_f082f.c \
821
827
generated_status_f2c.c \
822
828
generated_status_f2f08.c \
829
+ generated_status_get_error.c \
830
+ generated_status_get_source.c \
831
+ generated_status_get_tag.c \
823
832
generated_status_set_cancelled.c \
824
833
generated_status_set_elements.c \
825
834
generated_status_set_elements_x.c \
835
+ generated_status_set_error.c \
836
+ generated_status_set_source.c \
837
+ generated_status_set_tag.c \
826
838
generated_testall.c \
827
839
generated_testany.c \
828
840
generated_test.c \
Original file line number Diff line number Diff line change 1
1
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
2
2
/*
3
3
* Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
4
+ * Copyright (c) 2025 Triad National Security, LLC. All rights
5
+ * reserved.
4
6
* $COPYRIGHT$
5
7
*
6
8
* Additional copyrights may follow
16
18
#include "ompi/errhandler/errhandler.h"
17
19
#include "ompi/memchecker.h"
18
20
19
- #if OMPI_BUILD_MPI_PROFILING
20
- #if OPAL_HAVE_WEAK_SYMBOLS
21
- #pragma weak MPI_Status_get_error = PMPI_Status_get_error
22
- #endif
23
- #define MPI_Status_get_error PMPI_Status_get_error
24
- #endif
25
-
26
- static const char FUNC_NAME [] = "MPI_Status_get_error" ;
27
-
28
-
29
- int MPI_Status_get_error (const MPI_Status * status , int * error )
21
+ PROTOTYPE ERROR_CLASS status_get_error (STATUS status , INT_OUT error )
30
22
{
31
23
int rc = MPI_SUCCESS ;
32
24
Original file line number Diff line number Diff line change 1
1
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
2
2
/*
3
3
* Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
4
+ * Copyright (c) 2025 Triad National Security, LLC. All rights
5
+ * reserved.
4
6
* $COPYRIGHT$
5
7
*
6
8
* Additional copyrights may follow
16
18
#include "ompi/errhandler/errhandler.h"
17
19
#include "ompi/memchecker.h"
18
20
19
- #if OMPI_BUILD_MPI_PROFILING
20
- #if OPAL_HAVE_WEAK_SYMBOLS
21
- #pragma weak MPI_Status_get_source = PMPI_Status_get_source
22
- #endif
23
- #define MPI_Status_get_source PMPI_Status_get_source
24
- #endif
25
-
26
- static const char FUNC_NAME [] = "MPI_Status_get_source" ;
27
-
28
-
29
- int MPI_Status_get_source (const MPI_Status * status , int * source )
21
+ PROTOTYPE ERROR_CLASS status_get_source (STATUS status , INT_OUT source )
30
22
{
31
23
int rc = MPI_SUCCESS ;
32
24
Original file line number Diff line number Diff line change 1
1
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
2
2
/*
3
3
* Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
4
+ * Copyright (c) 2025 Triad National Security, LLC. All rights
5
+ * reserved.
6
+ *
4
7
* $COPYRIGHT$
5
8
*
6
9
* Additional copyrights may follow
16
19
#include "ompi/errhandler/errhandler.h"
17
20
#include "ompi/memchecker.h"
18
21
19
- #if OMPI_BUILD_MPI_PROFILING
20
- #if OPAL_HAVE_WEAK_SYMBOLS
21
- #pragma weak MPI_Status_get_tag = PMPI_Status_get_tag
22
- #endif
23
- #define MPI_Status_get_tag PMPI_Status_get_tag
24
- #endif
25
-
26
- static const char FUNC_NAME [] = "MPI_Status_get_tag" ;
27
-
28
22
29
- int MPI_Status_get_tag ( const MPI_Status * status , int * tag )
23
+ PROTOTYPE ERROR_CLASS status_get_tag ( STATUS status , INT_OUT tag )
30
24
{
31
25
int rc = MPI_SUCCESS ;
32
26
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
3
+ * Copyright (c) 2025 Triad National Security, LLC. All rights
4
+ * reserved.
3
5
* $COPYRIGHT$
4
6
*
5
7
* Additional copyrights may follow
15
17
#include "ompi/errhandler/errhandler.h"
16
18
#include "ompi/memchecker.h"
17
19
18
- #if OMPI_BUILD_MPI_PROFILING
19
- #if OPAL_HAVE_WEAK_SYMBOLS
20
- #pragma weak MPI_Status_set_error = PMPI_Status_set_error
21
- #endif
22
- #define MPI_Status_set_error PMPI_Status_set_error
23
- #endif
24
-
25
- static const char FUNC_NAME [] = "MPI_Status_set_error" ;
26
-
27
-
28
- int MPI_Status_set_error (MPI_Status * status , int error )
20
+ PROTOTYPE ERROR_CLASS status_set_error(STATUS_OUT status, INT error)
29
21
{
30
22
MEMCHECKER(
31
23
if(status != MPI_STATUSES_IGNORE) {
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
3
+ * Copyright (c) 2025 Triad National Security, LLC. All rights
4
+ * reserved.
3
5
* $COPYRIGHT$
4
6
*
5
7
* Additional copyrights may follow
15
17
#include "ompi/errhandler/errhandler.h"
16
18
#include "ompi/memchecker.h"
17
19
18
- #if OMPI_BUILD_MPI_PROFILING
19
- #if OPAL_HAVE_WEAK_SYMBOLS
20
- #pragma weak MPI_Status_set_source = PMPI_Status_set_source
21
- #endif
22
- #define MPI_Status_set_source PMPI_Status_set_source
23
- #endif
24
-
25
- static const char FUNC_NAME [] = "MPI_Status_set_source" ;
26
-
27
-
28
- int MPI_Status_set_source (MPI_Status * status , int source )
20
+ PROTOTYPE ERROR_CLASS status_set_source(STATUS_OUT status, INT source)
29
21
{
30
22
MEMCHECKER(
31
23
if(status != MPI_STATUSES_IGNORE) {
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
3
+ * Copyright (c) 2025 Triad National Security, LLC. All rights
4
+ * reserved.
5
+ *
3
6
* $COPYRIGHT$
4
7
*
5
8
* Additional copyrights may follow
15
18
#include "ompi/errhandler/errhandler.h"
16
19
#include "ompi/memchecker.h"
17
20
18
- #if OMPI_BUILD_MPI_PROFILING
19
- #if OPAL_HAVE_WEAK_SYMBOLS
20
- #pragma weak MPI_Status_set_tag = PMPI_Status_set_tag
21
- #endif
22
- #define MPI_Status_set_tag PMPI_Status_set_tag
23
- #endif
24
-
25
- static const char FUNC_NAME [] = "MPI_Status_set_tag" ;
26
-
27
-
28
- int MPI_Status_set_tag (MPI_Status * status , int tag )
21
+ PROTOTYPE ERROR_CLASS status_set_tag(STATUS_OUT status, INT tag)
29
22
{
30
23
MEMCHECKER(
31
24
if(status != MPI_STATUSES_IGNORE) {
You can’t perform that action at this time.
0 commit comments