kml_set_thread_num
设置Sparse BLAS库接口函数执行的线程数 (此函数不可重入)。
接口定义
C interface:
kml_sparse_status_t kml_set_thread_num(const int thread_num);
Fortran interface:
RES = KML_SET_THREAD_NUM(THREAD_NUM);
参数
| 参数名 | 类型 | 描述 | 输入/输出 | 
|---|---|---|---|
| thread_num | 整型 | 线程数,取值范围为1~256。 | 输入 | 
返回值
函数执行状态,枚举类型kml_sparse_status_t。
父主题: Support函数