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.

Parallel Computing

Law

并行计算领域的两个关键定律就是 Amdahl 和 Gustafson,从不同角度诠释了 加速比系统串行化程度CPU核心数 之间的关系

Kokkos Source Code Analysis

Usage

Install & CMake

1
2
3
4
5
6
7
cd some_software-1.4.2
mkdir build
cd build

cmake .. 
cmake --build . # It is equivalent to make
cmake --build . --target install # It is equivalent to make install

After the above flow, we can use Kokkos by CMake directly.

0%