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

获取KML_BLAS的并行类型。

#### 接口定义

int BlasGetParallel(void)


#### 返回值

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


#### 依赖

#include "kblas.h"
