![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CUDA
张大饼的最爱
这个作者很懒,什么都没留下…
展开
-
CUDA - JuliaSet
简单的入门示例 #include "cuda_runtime.h" #include "device_launch_parameters.h" #include "cpu_bitmap.h" #include "book.h" #define DIM 1000 struct cuComplex{ float r; float i; __device__ cuComplex (flo原创 2017-12-05 14:11:19 · 477 阅读 · 0 评论 -
CUDA - Image Data Copy
// 2D image unsigned short* pDeviceImageData; cudaMalloc(&pDeviceImageData, nImgHeight*nImgWidth*sizeof(unsigned short)); cudaError_t cudaerror = cudaSuccess; cudaerror = cud...原创 2018-08-14 17:05:57 · 407 阅读 · 0 评论