1
1
This commit was SVN r23013.
Этот коммит содержится в:
Jeff Squyres 2010-04-20 20:59:42 +00:00
родитель f1d4a748eb
Коммит 53ab6600e6

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

@ -9,7 +9,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2010 IBM Corporation. All rights reserved. * Copyright (c) 2010 IBM Corporation. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
@ -26,15 +26,14 @@
* *
* Intent * Intent
* *
* This is an extremely simple framework that is used to support the * This framework is used to support the OS-specific API for placement
* OS-specific API for placement of processes on processors. It does * of processes on processors. It does *not* decide scheduling issues
* *not* decide scheduling issues -- it is simply for assigning the * -- it is simply for assigning the current process it to a specific
* current process it to a specific processor set. As such, the * processor set. As such, the components are likely to be extremely
* components are likely to be extremely short/simple -- there will * short/simple -- there will likely be one component for each OS/API
* likely be one component for each OS/API that we support (e.g., * that we support (e.g., Linux, IRIX, etc.). As a direct
* Linux, IRIX, etc.). As a direct consequence, there will likely * consequence, there will likely only be one component that is
* only be one component that is useable on a given platform (making * useable on a given platform (making selection easy).
* selection easy).
* *
* It is *not* an error if there is no paffinity component available; * It is *not* an error if there is no paffinity component available;
* processor affinity services are simply not available. Hence, * processor affinity services are simply not available. Hence,
@ -284,11 +283,10 @@ typedef int (*opal_paffinity_base_module_get_processor_info_fn_t)(int *num_proce
typedef int (*opal_paffinity_base_module_get_socket_info_fn_t)(int *num_sockets); typedef int (*opal_paffinity_base_module_get_socket_info_fn_t)(int *num_sockets);
/** /**
* Provides the number of LOGICAL cores in a PHYSICAL socket. currently supported * Provides the number of LOGICAL cores in a PHYSICAL socket.
* only in Linux hosts
* *
* return OPAL_SUCCESS or OPAL_ERR_NOT_SUPPORTED if not * Returns OPAL_SUCCESS or OPAL_ERR_NOT_SUPPORTED if not
* supporeted (solaris, windows, etc...) * supporeted.
*/ */
typedef int (*opal_paffinity_base_module_get_core_info_fn_t)(int physical_socket, int *num_cores); typedef int (*opal_paffinity_base_module_get_core_info_fn_t)(int physical_socket, int *num_cores);