Commit 98c4f409 by mozheng

添加结果

parent 1378c1bb
## Cupy和numpy的比较
Cupy是使用NVIDIA CUDA核心进行加速运算,因为GPU上有好多CUDA核心,因此可以大大提高运算速度,当数据量达到千万级时,用cupy会大大增加运算速度。
该作业我主要是验证以上观点,创建了两组数据,一组是在CPU上用numpy实现千万级矩阵的加法,一组在GPU上用cupy实现同样数据的加法,结果表明,用cupy计算时,速度比numpy快40倍,证明以上观点正确。~~~~
## 程序结果
代码:[main.py](main.py)
结果:
![](res1.png)
\ No newline at end of file
1/res1.png

3.14 KB

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment