Visual Studio 2010上的Intel OpenCL SDK的OpenCL代码'错误MSB3721' [英] OpenCL code 'Error MSB3721' for Intel OpenCL SDK on Visual Studio 2010

查看:278
本文介绍了Visual Studio 2010上的Intel OpenCL SDK的OpenCL代码'错误MSB3721'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用Intel的OpenCL SDK平台进行异构并行编程(OpenCL).我为此使用Visual Studio 2010 Ultimate.我的系统中没有任何GPU.我曾在用于Opencl编程的CUDA SDK平台上工作.这是我第一次使用英特尔的OpenCL SDK进行opencl编程.

I am currently using Intel's OpenCL SDK platform for heterogeneous parallel programming (OpenCL). I am using Visual Studio 2010 Ultimate for this. My system doesn't have any GPU in it. I have worked on CUDA SDK platform for opencl programming. This the first time I am using Intel's OpenCL SDK for opencl programming.

我已经尝试了《 OpenCL in Action》一书中的一些基本平台,设备,上下文标识/创建/定义代码.他们都工作正常.因此,我们可以考虑正确配置Visual Studio.

I have tried some basic platform, device, context identifying/creating/defining codes from 'OpenCL in Action' book. They all worked fine. So we can consider that visual studio is properly configured.

现在,我正在尝试在Visual Studio中构建一个"Hello World"程序,该程序给我以下错误:

Now, I am trying to build a 'Hello World' program in visual studio which gives me following error:

错误MSB3721:命令" C:\ Program Files(x86)\ Intel \ OpenCL SDK \ 3.0 \ bin \ x86 \ ioc32.exe"-cmd = build -input =" E:\ Menu \ Google \ programs \ 1code \ feb \ 10feb2014 \ OpenCL \ OpenCL \ hello.cl"-output =" Debug \ hello.out"-VS -device = CPU -simd = default -bo =""退出,代码为-1073741511. C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ BuildCustomizations \ IntelOpenCL.targetS

现在我的问题是:

  1. 此错误MSB3721"的含义是什么?

  1. What is the significance of this 'Error MSB3721'?

这是与编程相关的错误还是"OpenCL + Visual Studio"配置有问题?

Is this a programming related error or something is wrong with the 'OpenCL + Visual Studio' configuration?

我试图在这个问题上尽可能具体.如果我没有提供足够的信息并帮助我,请告诉我.非常感谢您的关注.

I am trying to be as specific as possible in this question. Let me know if I have not providing enough information and help me out. I really appreciate your concern.

推荐答案

我不知道它是什么,但是当我的项目中有一些* .cl文件时,我遇到了同样的问题.只需将其从项目中删除(而不是从磁盘中删除)!无论如何,您都可以从* .cl文件中读取源代码,但是当此文件出现在项目中时,会导致en错误.我不知道为什么.

I don't know what it is, but i had the same problem when there was some *.cl file in my project. Just remove it from project (not from disk)! Anyway you will be able to read your source from this *.cl file, but when this file presents in project it causes en error. I don't know why.

这篇关于Visual Studio 2010上的Intel OpenCL SDK的OpenCL代码'错误MSB3721'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆