compiler-errors - opencl编译错误

我是OpenCL的新手,我根据此线程上的答案为intcl安装了intel sdk:
OpenCL compile on linux
但是我的opencl代码无法编译。我收到错误消息“CL/cl.hpp:没有这样的文件或目录”

最佳答案

CL/cl.hpp是Khronos组(OpenCL标准的主体)中的实现C++ Bindings Specification的头文件。据我所知,OpenCL提供程序不需要提供文件及其软件包,因此您可以从Khronos registry下载。

https://stackoverflow.com/questions/26976193/

相关文章:

c# - 如何从 C# 中的封闭构造类中获取基类对象

compiler-errors - 无法解决错误,VHDL,语法错误,但我看不到

compiler-errors - 编译示例Scalapack应用程序时出现问题

objective-c - 隐式转换为NSIndexPath的错误

compiler-errors - Latex中缺少\begin {document}

c# - 抑制ASPX文件的生成错误

android - 关于主要 Activity : 'illegal start of expres

maven - 执行失败 : 'control build' & Failed to execute

c#-4.0 - 为什么我的变量在分配时说未分配?

android - Android Delphi xe7中的错误