1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
/*
* Copyright (c) 2014 Mellanox Technologies, Inc.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "oshmem_config.h"
#include "opal/constants.h"
#include "oshmem/mca/mca.h"
#include "opal/mca/base/base.h"
#include "oshmem/mca/sshmem/sshmem.h"
#include "oshmem/mca/sshmem/base/base.h"
/* ////////////////////////////////////////////////////////////////////////// */
int
mca_sshmem_base_close(void)
{
/* if there is a selected sshmem module, finalize it */
if (NULL != mca_sshmem_base_module &&
NULL != mca_sshmem_base_module->module_finalize) {
mca_sshmem_base_module->module_finalize();
}
return mca_base_framework_components_close (&oshmem_sshmem_base_framework,
NULL);
}
|