Add a global local architecture. It is required by the proc.c file as all new procs by default
have the same architecture as the current one. This commit was SVN r6678.
Этот коммит содержится в:
родитель
170777d399
Коммит
10d95144b6
@ -92,8 +92,10 @@ struct ompi_convertor_t {
|
||||
OBJ_CLASS_DECLARATION( ompi_convertor_t );
|
||||
|
||||
/* Base convertor for all external32 operations */
|
||||
extern ompi_convertor_t* ompi_mpi_external32_convertor;
|
||||
extern ompi_convertor_t* ompi_mpi_local_convertor;
|
||||
OMPI_DECLSPEC extern ompi_convertor_t* ompi_mpi_external32_convertor;
|
||||
OMPI_DECLSPEC extern ompi_convertor_t* ompi_mpi_local_convertor;
|
||||
OMPI_DECLSPEC extern uint32_t ompi_mpi_local_arch;
|
||||
|
||||
extern conversion_fct_t ompi_ddt_copy_functions[];
|
||||
|
||||
/*
|
||||
|
@ -72,17 +72,16 @@ uint32_t ompi_ddt_external32_arch_id = OMPI_ARCH_LDEXPSIZEIS15 | OMPI_ARCH_LDMAN
|
||||
|
||||
ompi_convertor_t* ompi_mpi_external32_convertor = NULL;
|
||||
ompi_convertor_t* ompi_mpi_local_convertor = NULL;
|
||||
uint32_t ompi_mpi_local_arch = 0xFFFFFFFF;
|
||||
|
||||
int32_t ompi_ddt_default_convertors_init( void )
|
||||
{
|
||||
uint32_t local_arch_id;
|
||||
|
||||
/* create the extern32 convertor */
|
||||
ompi_mpi_external32_convertor = ompi_convertor_create( ompi_ddt_external32_arch_id, 0 );
|
||||
|
||||
/* create the local convertor */
|
||||
ompi_arch_compute_local_id( &local_arch_id );
|
||||
ompi_mpi_local_convertor = ompi_convertor_create( local_arch_id, 0 );
|
||||
ompi_arch_compute_local_id( &ompi_mpi_local_arch );
|
||||
ompi_mpi_local_convertor = ompi_convertor_create( ompi_mpi_local_arch, 0 );
|
||||
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user