[問題] CUDA 2.1與2.3的差別?

看板VideoCard (顯卡板)作者 (交換關聯)時間16年前 (2009/11/28 01:05), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
※ [本文轉錄自 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
文章代碼(AID): #1B40RO3r (VideoCard)
文章代碼(AID): #1B40RO3r (VideoCard)