CUDA 2.1與2.3的差別? - 顯卡

By Ida
at 2009-11-28T01:05
at 2009-11-28T01:05
Table of Contents
※ [本文轉錄自 C_and_CPP 看板]
作者: DrStein (交換關聯) 看板: C_and_CPP
標題: [問題] CUDA 2.1與2.3的差別?
時間: Sat Nov 28 01:05:13 2009
有個程式,在別台電腦是用 CUDA 2.3寫
到我電腦(CUDA 2.1)會編不過,確定cuda.RULES已被替換為2.1版了。
錯誤如下(VC 2005環境, VC compiler)
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(3048):
internal error: assertion failed: gen_expr: bad expr node kind
(D:/Bld/rel/gpgpu/toolkit/r2.1/compiler/edg/EDG_3.9/src/cp_gen_be.c, line
9510)
1>1 catastrophic error detected in the compilation of
"C:\DOCUME~1\DrStein\LOCALS~1\Temp/tmpxft_00002730_00000000-6_test.cpp1.ii".
>C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(3001) : fatal
error C1075: end of file found before the left parenthesis '(' at 'C:\Program
Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(2999)' was matched
看不懂,嗯 那把compiler換成intel的 直接就是 :
error: A tool returned an error code from "Compiling with CUDA Build Rule..."
所以想問下2.1 與 2.3差別在那?
用到的 header為(只列出CUDA部份):
<cuda_runtime.h>
<cublas.h>
<cuda.h>
<cutil_inline.h>
用到的function 為:
__syncthreads();
cublasInit();
cublasShutdown();
cudaGetErrorString();
還請大師適疑 謝謝
--
作者: DrStein (交換關聯) 看板: C_and_CPP
標題: [問題] CUDA 2.1與2.3的差別?
時間: Sat Nov 28 01:05:13 2009
有個程式,在別台電腦是用 CUDA 2.3寫
到我電腦(CUDA 2.1)會編不過,確定cuda.RULES已被替換為2.1版了。
錯誤如下(VC 2005環境, VC compiler)
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(3048):
internal error: assertion failed: gen_expr: bad expr node kind
(D:/Bld/rel/gpgpu/toolkit/r2.1/compiler/edg/EDG_3.9/src/cp_gen_be.c, line
9510)
1>1 catastrophic error detected in the compilation of
"C:\DOCUME~1\DrStein\LOCALS~1\Temp/tmpxft_00002730_00000000-6_test.cpp1.ii".
>C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(3001) : fatal
error C1075: end of file found before the left parenthesis '(' at 'C:\Program
Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(2999)' was matched
看不懂,嗯 那把compiler換成intel的 直接就是 :
error: A tool returned an error code from "Compiling with CUDA Build Rule..."
所以想問下2.1 與 2.3差別在那?
用到的 header為(只列出CUDA部份):
<cuda_runtime.h>
<cublas.h>
<cuda.h>
<cutil_inline.h>
用到的function 為:
__syncthreads();
cublasInit();
cublasShutdown();
cudaGetErrorString();
還請大師適疑 謝謝
--
Tags:
顯卡
All Comments
Related Posts
玩永恆紀元Lag想換張顯卡 請高手指教

By Dorothy
at 2009-11-27T22:20
at 2009-11-27T22:20
AGP顯卡疑問

By Franklin
at 2009-11-27T21:44
at 2009-11-27T21:44
AGP 8X顯卡插主機板相容性的問題:~

By Jacky
at 2009-11-27T18:44
at 2009-11-27T18:44
有關於驅動程式的更新~(有點急)

By William
at 2009-11-27T15:25
at 2009-11-27T15:25
ATI 790GX驅動停止回應?

By Ophelia
at 2009-11-27T13:53
at 2009-11-27T13:53