diff options
| author | Shilei Tian <tianshilei1992@gmail.com> | 2021-01-30 15:14:41 -0500 |
|---|---|---|
| committer | Shilei Tian <tianshilei1992@gmail.com> | 2021-01-30 15:14:48 -0500 |
| commit | 26d38f6d20ff137d89cb7c891b739662de1ca508 (patch) | |
| tree | 8656ab883c969b87d7c822be9565f68bfdcb5e67 /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 39486753d5c69d98d510c9ed43c92f076ec4c602 (diff) | |
[OpenMP][NVPTX] Refined CMake logic to choose compute capabilites
This patch refines the logic to choose compute capabilites via the
environment variable `LIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES`. It supports the
following values (all case insensitive):
- "all": Build `deviceRTLs` for all supported compute capabilites;
- "auto": Only build for the compute capability auto detected. Note that this
requires CUDA. If CUDA is not found, a CMake fatal error will be raised.
- "xx,yy" or "xx;yy": Build for compute capabilities `xx` and `yy`.
If `LIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES` is not set, it is equivalent to set
it to `all`.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D95687
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
