ompi_proc_sentinel_to_name: clear the top left bit
Этот коммит содержится в:
родитель
15325c8094
Коммит
351bd03249
@ -13,6 +13,8 @@
|
|||||||
* Copyright (c) 2007-2012 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2007-2012 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved
|
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved
|
||||||
|
* Copyright (c) 2015 Research Organization for Information Science
|
||||||
|
* and Technology (RIST). All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -375,6 +377,7 @@ static inline intptr_t ompi_proc_name_to_sentinel (opal_process_name_t name)
|
|||||||
static inline opal_process_name_t ompi_proc_sentinel_to_name (intptr_t sentinel)
|
static inline opal_process_name_t ompi_proc_sentinel_to_name (intptr_t sentinel)
|
||||||
{
|
{
|
||||||
sentinel >>= 1;
|
sentinel >>= 1;
|
||||||
|
sentinel &= 0x7FFFFFFFFFFFFFFF;
|
||||||
return *((opal_process_name_t *) &sentinel);
|
return *((opal_process_name_t *) &sentinel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user