上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: 原因 大型cpp项目中经常用到【符号跳转】等功能。 vim上有两种选择,1: 使用tags系统进行静态分析,完成符号跳转;2:安装LSP支持。 对于第一种方法,即使是宣称比ctags好用的gtags,也存在无法跳转准确的情况,而ctags经常出现各种编译问题,难以解决。 对于第二种方法,给vim安装 阅读全文
posted @ 2022-06-24 16:10 ijpq 阅读(942) 评论(0) 推荐(0)
摘要: 基本 gitignore A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the N 阅读全文
posted @ 2022-06-23 18:50 ijpq 阅读(56) 评论(0) 推荐(0)
摘要: https://baptiste-wicht.com/posts/2017/09/cpp11-performance-tip-when-to-use-std-pow.html 阅读全文
posted @ 2022-06-16 11:04 ijpq 阅读(25) 评论(0) 推荐(0)
摘要: 环境 cuda drvier 11.6 cuda toolkit 11.1 pytorch ver 1.11 conda env # conda package list # packages in environment at /home/tangke/anaconda3/envs/py39tor 阅读全文
posted @ 2022-06-12 18:28 ijpq 阅读(268) 评论(0) 推荐(0)
摘要: 前置知识: virtual table in C++ 对于每个opr,dispatcher构建了一个vtable(c多态性相关概念)。dispatcher的工作就是根据输入的tensor和其他一些meta信息,计算dispatch key,然后根据vtable跳转到相应的函数 c virtual t 阅读全文
posted @ 2022-05-20 16:18 ijpq 阅读(301) 评论(0) 推荐(0)
摘要: class Container { public: virtual double& operator[](int) = 0; virtual int size() const = 0; virtual ̃Container() {} // pure virtual function // const 阅读全文
posted @ 2022-05-20 11:44 ijpq 阅读(65) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/ac019dc3a0f7 阅读全文
posted @ 2022-05-09 12:08 ijpq 阅读(28) 评论(0) 推荐(0)
摘要: 核心问题:真值表构建好后,可对其进行优化,并且转换为门电路。这个过程是完全机械的。是如何进行的呢?(计算机组成与设计 软硬件接口 RISCV - Chapter 4.4.1最后) 无关项 分为输入无关项和输出无关项。输入无关项:当输出对于某些输入组合来说是无关项时,可以自由组合这些输入是1还是0. 阅读全文
posted @ 2022-05-05 16:15 ijpq 阅读(159) 评论(0) 推荐(0)
摘要: RAM https://www.cnblogs.com/ijpq/p/16222237.html 阅读全文
posted @ 2022-05-04 20:06 ijpq 阅读(29) 评论(0) 推荐(0)
摘要: 地址宽度2~24,地址宽度(Address Bit Width)是24位,则能够表示的地址数量是$ 2 ^ {24} = 16,777,216$,每个数值最多占用32位(Data Bit Width)。 RAM支持修改数值,通过poke tool实现 内存中的值直接显示在元器件上面,地址是在每一行的 阅读全文
posted @ 2022-05-04 20:06 ijpq 阅读(191) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页