1
1
openmpi/opal/mca/memchecker/base/memchecker_base_wrappers.c
Ralph Castain 6aac54b02e Revert r27510, r27509, and r27508.
Not sure what happened here, but the resulting trunk wouldn't even configure. After spending time fixing that problem, I found it wouldn't compile due to multiple syntax errors that had been introduced in both the OPAL and OMPI layer. This raised questions as to the completeness of the work.

Given that the author is departing, I pinged Jeff about it and we agreed to revert this for now. Hopefully, it can either be fixed by the author prior to actual departure, or someone else can pick it up (now that it is in the history) and fix it.

This commit was SVN r27511.

The following SVN revision numbers were found above:
  r27508 --> open-mpi/ompi@12c3c743de
  r27509 --> open-mpi/ompi@79e4a8ca38
  r27510 --> open-mpi/ompi@1ad5ff625a
2012-10-27 16:43:45 +00:00

89 строки
1.9 KiB
C

/*
* Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "opal_config.h"
#if OMPI_WANT_MEMCHECKER
#include "opal/mca/memchecker/memchecker.h"
#include "opal/mca/memchecker/base/base.h"
int opal_memchecker_base_runindebugger(void)
{
return opal_memchecker_base_module->runindebugger();
}
int opal_memchecker_base_isaddressable(void * p, size_t len)
{
return opal_memchecker_base_module->isaddressable(p, len);
}
int opal_memchecker_base_isdefined(void * p, size_t len)
{
return opal_memchecker_base_module->isdefined(p, len);
}
int opal_memchecker_base_mem_noaccess(void * p, size_t len)
{
return opal_memchecker_base_module->mem_noaccess(p, len);
}
int opal_memchecker_base_mem_undefined(void * p, size_t len)
{
return opal_memchecker_base_module->mem_undefined(p, len);
}
int opal_memchecker_base_mem_defined(void * p, size_t len)
{
return opal_memchecker_base_module->mem_defined(p, len);
}
int opal_memchecker_base_mem_defined_if_addressable(void * p, size_t len)
{
return opal_memchecker_base_module->mem_defined_if_addressable(p, len);
}
int opal_memchecker_base_create_block(void * p, size_t len, char * description)
{
return opal_memchecker_base_module->create_block(p, len, description);
}
int opal_memchecker_base_discard_block(void * p)
{
return opal_memchecker_base_module->discard_block(p);
}
int opal_memchecker_base_leakcheck(void)
{
return opal_memchecker_base_module->leakcheck();
}
int opal_memchecker_base_get_vbits(void * p, char * vbits, size_t len)
{
return opal_memchecker_base_module->get_vbits(p, vbits, len);
}
int opal_memchecker_base_set_vbits(void * p, char * vbits, size_t len)
{
return opal_memchecker_base_module->set_vbits(p, vbits, len);
}
#endif /* OMPI_WANT_MEMCHECKER */