- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 关于何时使用cudaDeviceSynchronize
When to call cudaDeviceSynchronizewhy do we need cudaDeviceSynchronize(); in kernels with device-printf?Although CUDA kernel launches are asynchronous, all GPU-related tasks placed in on
2014-02-25 11:29:42 9863
原创 cudaFuncGetAttributes 模板template
cudaFuncGetAttributes return unexpected resultHow to pass the address of a template kernel function to a CUDA function?Directly casting from pointer to a template function?cudaFunc
2014-02-25 10:36:21 1022
原创 Qt MouseEvent
//! [10]void GLWidget::mouseMoveEvent(QMouseEvent *event){ int dx = event->x() - lastPos.x(); int dy = event->y() - lastPos.y(); if (event->buttons() & Qt::LeftButton) { setXRot
2014-02-16 20:20:19 1077
原创 opengl 光照资料
OpenGL - Lighting (光照)Independently Moving the LightNow suppose you want to rotate or translate the light position so that the light moves relative to a stationary object. One way to do this is
2014-02-16 20:05:49 779
原创 Opengl+Qt 可视化文字显示模糊问题
结果如下,有重影:debug原因:以下代码调用两次,注释掉一次即可(有效的原因不明,待高手指教)#if 1376 glClearColor(settings.backgroundColor.r, settings.backgroundColor.g, 377 settings.backgroundColor.b, settings.backg
2014-02-12 13:51:53 3315
语音识别 原理 算法 设计
2011-08-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人