1
1

Remove two useless files (they weren't even listed in their respective

Makefile.am's)

This commit was SVN r6841.
Этот коммит содержится в:
Jeff Squyres 2005-08-12 20:30:25 +00:00
родитель b2225ea8f3
Коммит 090712ebf9
2 изменённых файлов: 0 добавлений и 101 удалений

Просмотреть файл

@ -1,42 +0,0 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "include/constants.h"
#include "opal/class/opal_object.h"
typedef int affinity_t;
#ifndef ENABLE_NUMA
static inline int opal_set_affinity(void *addr, size_t size, affinity_t affinity)
{
return 1;
}
static inline int opal_get_cpu_set(void)
{
return OMPI_SUCCESS;
}
#else
/* OS / architecture specific implementation elsewhere */
int opal_set_affinity(void *addr, size_t size, affinity_t affinity);
int opal_get_cpu_set(void)
#endif

Просмотреть файл

@ -1,59 +0,0 @@
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ompi_config.h"
#include <stdio.h>
#include <stdlib.h>
#include "mpi.h"
#include "include/constants.h"
#include "mca/mca.h"
#include "mca/base/base.h"
int mca_base_alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr)
{
void *temp;
/* Error checks */
if (0 == size)
return OMPI_SUCCESS;
else if (size < 0)
return OMPI_ERROR;
/* Do the alloc */
temp = malloc(size);
if (NULL == temp)
return OMPI_ERROR;
/* All done */
*((void **) baseptr) = temp;
return OMPI_SUCCESS;
}
int mca_base_free_mem(void *baseptr)
{
if (NULL != baseptr)
free(baseptr);
return OMPI_SUCCESS;
}