---
title: aclrtGetGroupCount
description: 查询当前Context下可以使用的Group个数。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgc/aclcppdevg_03_0048.html"
---

# aclrtGetGroupCount

#### 函数功能

查询当前Context下可以使用的Group个数。

Atlas 200/500 A2推理产品，不支持该接口。


#### 函数原型

aclError aclrtGetGroupCount(uint32_t *count)


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| count | 输出 | 当前Context下可用Group个数的指针。 |


#### 返回值说明

返回0表示成功，返回其它值表示失败。
