1
1
openmpi/oshmem/shmem/c/shmem_finalize.c
Mike Dubman 644aa6f737 OSHMEM: add missing profiling API for shmem_finalize
fixed by Roman, reviewed by Miked
cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r31751.
2014-05-14 13:13:30 +00:00

32 строки
593 B
C

/*
* Copyright (c) 2013 Mellanox Technologies, Inc.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "oshmem_config.h"
#include "opal/runtime/opal_cr.h"
#include "oshmem/constants.h"
#include "oshmem/include/shmem.h"
#include "oshmem/runtime/runtime.h"
#if OSHMEM_PROFILING
#include "oshmem/include/pshmem.h"
#pragma weak shmem_finalize = pshmem_finalize
#include "oshmem/shmem/c/profile/defines.h"
#endif
void shmem_finalize(void)
{
OPAL_CR_FINALIZE_LIBRARY();
oshmem_shmem_finalize();
}