自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 cudaMemcpyToSymbol

 __constant__ int maxI;int dummy = 1;CUDA_SAFE_CALL( cudaMemcpyToSymbol(maxI, &dummy, 1 * sizeof(int)) myKerneldimGrid,dimBlock>>>(a,b,c);_global__ void myKernel(int a, int b, int c)...{          

2008-03-02 14:34:00 3023

原创 Advisory: Cannot tell what pointer points to, assuming global memory space

//C code(hello.c):typedef struct g_states_t ...{    int i;     struct g_states_t *pnext;}g_state;typedef struct ST...{    g_states_t **cur;    g_states_t *ctx[4];}ST;void setstates(ST *ps, g_states_

2008-03-01 17:53:00 2098

原创 cuda中应用模板函数

//定义templateclass TData> __global__ void testKernel(TData *d_odata,TData *d_idata,int numElements)...{    const int        tid = blockDim.x * blockIdx.x + threadIdx.x;    const int numThreads = bloc

2008-02-25 21:18:00 3249

原创 cuda文件操作

1.读取文件:    const char usage[] =     ...{        " Usage: "        "  dwtHaar1D --signal= --result= --gold= "        "   Input file containing the signal "        "   Output file storing the result

2008-02-25 21:07:00 3339

原创 CUDA代码常用编写技巧

1.  声明 __shared__ 变量或数组: __shared__  float  sh_farr[ 256];__shared__  int  a; 2.结构体指针成员的分配设备内存:typedef struct Teacher_t...{    int a;    unsigned int    *g_mem1;    float            *g

2008-02-25 17:13:00 1975 2

原创 Carbide.vs 3.0

Thank you for registeringYou have successfully registered Carbide.vs 3.0. The serial number has been e-mailed to [email protected] your convenience you can copy the serial number from here and ke

2008-02-24 13:00:00 825

原创 CUDA文件编译错误

EmuDebug编译通过,而在Release下出现的编译错误  tmpxft_000011f8_00000000-3.gputmpxft_000011f8_00000000-7.gpu### Assertion failure at line 907 of ../../be/cg/NVISA/cgemit_targ.cxx:### Compiler Error in file C:

2008-02-24 12:44:00 1619

原创 CUDA文件编译命令行

CUDA文件编译命令行2008-02-18 13:11EmuDebug:$(CUDA_BIN_PATH)/nvcc.exe -ccbin "$(VCInstallDir)bin" -deviceemu -c -D_DEBUG -DWIN32 -D_CONSOLE -D_MBCS -Xcompiler /EHsc,/W3,/nologo,/Wp64,/Od,/Zi,/RTC1,/

2008-02-24 12:39:00 1707

3G无线网络规划的方法

3G无线网络规划的方法3G无线网络规划的方法

2009-01-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除