![Nathan Hjelm](/assets/img/avatar_default.png)
This commit makes the folowing changes: - Add support for the knem single-copy mechanism. Initially vader will only support the synchronous copy mode. Asynchronous copy support may be added int the future. - Improve Linux cross memory attach (CMA) when using restrictive ptrace settings. This will allow Open MPI to use CMA without modifying the system settings to support ptrace attach (see /etc/sysctl.d/10-ptrace.conf). - Allow runtime selection of the single copy mechanism. The default behavior is to use the best available. The priority list of single-copy mehanisms is as follows: xpmem, cma, and knem. - Allow disabling support for kernel-assisted single copy. - Some tuning and bug fixes.
27 строки
572 B
C
27 строки
572 B
C
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
|
/*
|
|
* Copyright (c) 2014 Los Alamos National Security, LLC. All rights
|
|
* reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#if !defined(BTL_VADER_KNEM_H)
|
|
#define BTL_VADER_KNEM_H
|
|
|
|
#if OPAL_BTL_VADER_HAVE_KNEM
|
|
|
|
#include <knem_io.h>
|
|
#include <sys/mman.h>
|
|
|
|
int mca_btl_vader_knem_init (void);
|
|
int mca_btl_vader_knem_fini (void);
|
|
int mca_btl_vader_knem_progress (void);
|
|
|
|
#endif /* OPAL_BTL_VADER_HAVE_KNEM */
|
|
|
|
#endif /* defined(BTL_VADER_KNEM_H) */
|