---
title: BlasGetParallel
description: "获取KML_BLAS的并行类型。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/240RC1/accel/kunpengaccel_kml_16_0197.html
sourcePath: /source/zh/kunpengboostkithistory/240RC1/accel/kunpengaccel_kml_16_0197.html
indexId: 7314349159720b1c5688b2e13549ef1e01964911623b7ff21dcbe1b72d1ac31276
---
# BlasGetParallel

获取KML_BLAS的并行类型。

#### 接口定义

int BlasGetParallel(void)


#### 返回值

- 返回0表示KML_BLAS为单线程数学库。
- 返回1表示KML_BLAS为普通多线程数学库。
- 返回2表示KML_BLAS为OpenMP多线程数学库。


#### 依赖

#include "kblas.h"
