OpenMP

Check the OpenMP version

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#include <stdio.h>

int main() {
#ifdef _OPENMP
    printf("OpenMP version: %d\n", _OPENMP);
#else
    printf("OpenMP is not supported.\n");
#endif
    return 0;
}

If system supports the OpenMP, you will receive similar output results

Matrix Multiplication

  1. GEMM(General Matrix Multiplication)-通用矩阵乘
  2. BLAS (Basic Linear Algebra Subprograms) - 基本线性代数子程序
  3. SGEMM (Single precision General Matrix Multiply) - 单精度矩阵乘法
  4. DGEMM (Double precision General Matrix Multiply) - 双精度矩阵乘法
  5. CGEMM (Complex single precision General Matrix Multiply) - 单精度复数矩阵乘法
  6. ZGEMM (Complex double precision General Matrix Multiply) - 双精度复数矩阵乘法

Matrix & Vector

  • GeMV

Polymorphism

谈及多态主要是在考虑具有继承关系的多个类型之间的关系。考虑多态的核心在于引用或指针的 静态类型动态类型 是可能不同的

静态多态 和 动态多态 的一个明显的区别是 是 编译时 还是 运行时 解析调用

Principle of Software Version Control in Linux

In Linux, sometimes we will face to a software which has many editions, such as gcc and java. In different scenes, maybe we need different editions of the same software, so we must save all of them. But how can we switch them?

Linux uses the symlink to allow user easily switching between programs.

Then, we use the gcc as an example to illustrate the principle of software version control.

Reflections on My Learning Journey

  1. 平时学习或者编码的时候要及时总结技术点
  2. 后续考博,对文章没有那么那么看重(毕业对于小论文没有硬性要求,但是如果考虑读博,最好还是得写一个),看重的其实还是综合能力,不过上手能干活(代码项目能力强)这个更重要
  3. 经常做一些领域前沿的总结,每3到5个月对近期领域现状进行一次调研(问一下梁老师图计算领域有哪些顶刊)

1、积累。集腋成裘,聚沙成塔。注意人生的积累,存储一点提升自己上限的资本,不要认为自己可以躺一辈子。 2、主动。主动安排而非被动接受。想做什么事一定要自己主动。 3、专注。不纠结不拧巴不内耗。决定好要做什么事,就全力以赴将它做好。不要朝三暮四胡思乱想、提起又放下又不舍得,这样看似做完一件事,但只是重在参与、完成的质量很低,最终得到不好的结果又打击自己。

0%