![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HPC
文章平均质量分 75
Amicoyuan
这个作者很懒,什么都没留下…
展开
-
内存对齐对性能的影响
内存对齐对性能的影响 CPU读取内存的方式 CPU读取内存的方式其实非常复杂,为了更进一步的了解相关的原理,需要对计算机组成原理进行深度学习。 Memory access granularity(内存读取粒度) However, your computer’s processor does not read from and write to memory in byte-sized chunks. Instead, it accesses memory in two-, four-, eight- 16-原创 2021-10-24 18:19:52 · 668 阅读 · 0 评论 -
AVX向量化学习(一)
AVX指令集的简单操作 使用AVX指令集进行2个double型的数组相加操作 我的博客地址 我的博客地址 https://amicoyuan.github.io/ 使用到的AVX函数介绍 1. __m256 _mm256_loadu_ps (float const * mem_addr) Description Load 256-bits (composed of 8 packed single-precision (32-bit) floating-point elements) from memory原创 2021-10-24 16:02:39 · 904 阅读 · 0 评论