异常(第一次机会)... cudaError_enum在内存 [英] exception (first chance) ... cudaError_enum at memory

查看:213
本文介绍了异常(第一次机会)... cudaError_enum在内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我正在做一个项目,这是吐出这个错误,一些研究表明,问题在于cublas库。

So I am working on a project which is spitting me out that error, after some research showed that the problem lies with the cublas library.

现在我有以下的最小问题:

So now I have the following "minimal" problem:

我打开了NVIDIA CUDA SDK(4.2)中的simpleCUBLAS示例来测试我是否可以重现这个问题。

I opened the simpleCUBLAS example out of the NVIDIA CUDA SDK (4.2) to test if I can reproduce the problem .

程序本身工作,但VS2010给了我一个类似的输出:

the programm itself works but VS2010 gives me a similar output:

Eine Ausnahme(erste Chance)bei 0x75e3c41f in simpleCUBLAS.exe:Microsoft C ++ - Ausnahme:cudaError_enum a Speicherposition 0x003bf704 ..

7次

我的规格:

我使用GTX 460进行计算,使用sm_20编译,在Windows 7 64位
使用VS2010, nvcc --version给我:

I use a GTX 460 for computing, compile with sm_20 use VS2010 on Windows 7 64-bit and nvcc --version gives me:

nvcc:NVIDIA(R)Cuda编译器驱动程序
版权所有(c)2005-2011 NVIDIA Corporation
Built on Fri_Jan_13_18:18:37_PST_2012
Cuda编译工具,版本4.1,V0.2.1221

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2011 NVIDIA Corporation Built on Fri_Jan_13_01:18:37_PST_2012 Cuda compilation tools, release 4.1, V0.2.1221

这是我第一次在这里发布,所以我为其可怕的格式道歉发布

this is my first time posting here so I apologize for the horrible format it is posted

推荐答案

您所做的观察与在CUDA库中正确捕获和处理的异常有关。在某些情况下,它是CUDA GPU操作的正常部分。正如您所观察到的,您的应用程序不返回API错误并正确运行。如果你不在VS环境中可以报告这一点,你根本不会观察到这一点。

The observation you are making has to do with an exception that is caught and handled properly within the CUDA libraries. It is, in some cases, a normal part of CUDA GPU operation. As you have observed, your application returns no API errors and runs correctly. If you were not within the VS environment that can report this, you would not observe this at all.

这是CUDA下的正常行为。我相信有一些尝试在CUDA 5.5中消除它。你可能希望尝试,虽然它不被认为是一个问题的方式。

This is considered normal behavior under CUDA. I believe there were some attempts to eliminate it in CUDA 5.5. You might wish to try that, although it's not considered an issue either way.

这篇关于异常(第一次机会)... cudaError_enum在内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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