[Cbe-oss-dev] [patch 1/1 v2] MARS/base: add api to get num mpus

Kazunori Asayama asayama at sm.sony.co.jp
Wed May 27 09:49:40 EST 2009


Yuji Mano wrote:
> This adds a new API to the base library to return the number of MPUs
> allocated for the specified MARS context.
> 
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

Acked-by: Kazunori Asayama <asayama at sm.sony.co.jp>

> ---
> v2:
>  - return uint32_t instead of int
> 
>  base/include/host/mars/context.h |   13 +++++++++++++
>  base/src/host/lib/context.c      |    9 +++++++++
>  2 files changed, 22 insertions(+)

-- 
(Kazunori Asayama
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list