---
title: 环境变量
description: "- KUPL_EXECUTOR_BACKEND，表示KUPL采用的具体executor后端模式。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpckit/devg/KunpengHPCKit_developer_021.html
sourcePath: /source/zh/kunpenghpcs/hpckit/devg/KunpengHPCKit_developer_021.html
indexId: d344a05139b2a88884487b8f8cca31e40fdcf7b119b4caf3ec87182f0e95b9e067
---
# 环境变量

- KUPL_EXECUTOR_BACKEND，表示KUPL采用的具体executor后端模式。
- 当KUPL_EXECUTOR_BACKEND=pthread时，选择后端为pthread模式。
- 下述接口demo均为pthread后端下KUPL实现，因此需显式配置KUPL_EXECUTOR_BACKEND=pthread方可执行。
- KUPL_EXECUTOR_BACKEND还支持设定为omp，选择后端为omp模式，用于KUPL和OpenMP混合使用的场景，该模式为中间方案，后续会实现KUPL对接OpenMP方案用于替换。
