摘要: #include "cuda_runtime.h" #include "device_launch_parameters.h" #include<stdlib.h> #include <stdio.h> cudaError_t addWithCuda(int *c, const int *a, co 阅读全文
posted @ 2022-01-25 13:54 水木清扬 阅读(168) 评论(0) 推荐(0) 编辑
摘要: https://www.bilibili.com/read/cv7335974/ 由于最近需要做一些并行加速计算的工作,首先要在个人电脑上配置CUDA的环境,下面是具体的实现过程。 参考了:https://www.jianshu.com/p/1fd15d2408bf 一、安装Visual Studi 阅读全文
posted @ 2022-01-25 09:39 水木清扬 阅读(1677) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/399725374 CUDA入门到精通(4)vs2019+cuda11.4创建缺省CUDA工程项目 迦非喵 致力于国产CFD开源软件 ​关注他 3 人赞同了该文章 前面提到了: 迦非喵:CUDA入门到精通(1)Ubuntu20.04+CUDA 阅读全文
posted @ 2022-01-25 09:27 水木清扬 阅读(239) 评论(0) 推荐(0) 编辑