[問題] CUDA 2.1與2.3的差別?
※ [本文轉錄自 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();
還請大師適疑 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 58.115.136.111
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 58.115.136.111
VideoCard 近期熱門文章
PTT數位生活區 即時熱門文章