Memory Alignment

内存的编址单位是字节

但是内存 IO 的单位是字长,此数值应当和 数据通路 的宽度有关,当数据通路为 32 位时,那么一次内存 IO 就会读取4B数据1

对于上述内容,存在两点需要说明:

Graph Compiler

对于系统结构的理解

主要是对于 应用层代码,编译层 和 运行时库 之间关系的理解

Legion Source Code Analysis

项目文件分类

Storage

  1. GPU_Graph_Storage.[cuh]
  2. GPUGraphStore.[cu/cuh]

这两个的区别可能在于下面的是图的逻辑存储结构,上面的是物理存储结构(因为涉及到了CSR)

C C++ Const Keyword Unscramble

Embellish Raw Pointer

The collocation between const and original pointer is confused to many people. There are two usages of it. The key difference is that if the pointer is prohibited to modify or the data which is pointed by pointer is prohibited to modify.

0%