英特尔 DAAL 头文件可能存在问题

Intel DAAL possible issue with header file?

本文关键字:存在 问题 文件 DAAL 英特尔      更新时间:2023-10-16

我在Mac OS上安装了Intel parallel studio,并使用daal来构建我的文件。设置变量后,运行,

daalvars.sh intel64
icc my_first_daal_program.cpp -daal=parallel -o my_first_daal_program

我收到以下错误

my_first_daal_program.cpp(1): catastrophic error: cannot open source file "daal.h"
#include <daal.h>
                ^
compilation aborted for my_first_daal_program.cpp (code 4)

这是否意味着未找到头文件?

你应该像这样设置环境:

. daalvars.sh intel64

以使设置对以下命令保持可见。