2013-09-10 15:34:09 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013 Mellanox Technologies, Inc.
|
|
|
|
* All rights reserved.
|
2013-09-15 09:32:07 +00:00
|
|
|
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
|
2013-09-10 15:34:09 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "oshmem_config.h"
|
2013-09-15 09:32:07 +00:00
|
|
|
#include "oshmem/shmem/fortran/bindings.h"
|
2013-09-10 15:34:09 +00:00
|
|
|
#include "oshmem/include/shmem.h"
|
|
|
|
#include "oshmem/shmem/shmem_api_logger.h"
|
|
|
|
#include "stdio.h"
|
2013-09-15 09:32:07 +00:00
|
|
|
OMPI_GENERATE_FORTRAN_BINDINGS (void,
|
2013-09-10 15:34:09 +00:00
|
|
|
SHPDEALLC,
|
|
|
|
shpdeallc_,
|
|
|
|
shpdeallc__,
|
|
|
|
shpdeallc_f,
|
|
|
|
(FORTRAN_POINTER_T *addr, MPI_Fint *errcode, MPI_Fint *abort),
|
|
|
|
(addr,errcode,abort) )
|
|
|
|
|
|
|
|
|
|
|
|
void shpdeallc_f(FORTRAN_POINTER_T *addr, MPI_Fint *errcode, MPI_Fint *abort)
|
|
|
|
{
|
|
|
|
*errcode = 0;
|
2013-09-13 14:50:07 +00:00
|
|
|
shfree((void *)((uintptr_t)*addr));
|
2013-09-10 15:34:09 +00:00
|
|
|
}
|
|
|
|
|