Files
Inbox/系统基座文件/1/1.5/1.5.2 Host 端信号处理与数学库 (Host Signal Processing & Math Libs).md
2025-12-11 07:24:36 +08:00

52 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
tags:
date created: 星期三, 十一月 19日 2025, 8:01:59 晚上
date modified: 星期三, 十一月 19日 2025, 8:10:41 晚上
---
# 1.5.2 Host 端信号处理与数学库 (Host Signal Processing & Math Libs)
**1. 快速傅里叶变换库 (FFTW3)**
- **关键性****P0**
- **信息解析**
- **版本****3.5.8**。这是 FFTW3 系列非常稳定的版本。
- **精度支持**
- `libfftw3f.so` (单精度 float):用于处理雷达原始 IQ 数据(通常为 float 或 int16
- `libfftw3.so` (双精度 double):用于高精度后处理算法。
- `libfftw3l.so` (长双精度 long double):用于极端精度需求(较少用)。
- **并行能力**:提供了 `_omp` (OpenMP) 和 `_threads` (Pthreads) 版本。建议在代码中优先链接 `libfftw3f_omp` 以利用多核优势。
- **探测依据**
```bash
ls -l /usr/lib64/libfftw3f.so
… libfftw3f.so.5.8
```
**2. 线性代数加速库 (OpenBLAS)**
- **关键性****P0**
- **信息解析**
- **版本****0.3.10**。
- **架构优化**OpenBLAS 0.3.x 系列对 ARMv8 (Cortex-A57/A72 等微架构) 有良好的支持,能自动检测并使用 NEON 指令集。这对于 CPU 端波束合成(矩阵乘法)至关重要。
- **头文件**`/usr/include/openblas/cblas.h` 已就绪,可直接使用标准 CBLAS 接口。
- **探测依据**
```bash
ls -l /usr/lib64/libopenblas.so
… libopenblas-r0.3.10.so
```
**3. C++ 矩阵模板库 (Eigen3)**
- **关键性****P1**
- **信息解析**
- **状态****Installed**。
- **特性**Eigen 是纯头文件库Header-only无需编译链接。它能自动检测并调用后端的 BLAS 库(如 OpenBLAS进行加速是现代 C++ 算法开发的首选。
- **探测依据**
```bash
ls -d /usr/include/eigen3
/usr/include/eigen3
```