上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 问题:当拷贝一个RAII对象时会发生什么?有以下几种选择 禁止复制 如果复制一个RAII是不合理的,把拷贝构造和拷贝赋值运算符定义为delete就行了。 引用计数 某些资源的RAII对象可以被复制,但是当最后一个RAII对象不再使用时,应该销毁资源。书中用tr1::shared_ptr举例,这个东西 阅读全文
posted @ 2022-11-06 10:00 ijpq 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 直接使用指针管理对象并不安全,因为 可能忘记delete指针/delete语句并未按照预期执行而提前被exception中断了程序 etc RAII观念:资源取得时机便是初始化时机(说人话就是:管理对象的初始化就应该在获得其期望所管理资源或对象能够获得时). 例如使用工厂函数返回的对象来初始化std 阅读全文
posted @ 2022-11-05 18:40 ijpq 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 0x00 base of im2col https://zhuanlan.zhihu.com/p/491307328 0x01 base of implict GEMM https://zhuanlan.zhihu.com/p/372973726 so far, 0x00重点看im2col, 0x0 阅读全文
posted @ 2022-11-03 14:19 ijpq 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 主要看如何打tag(从最新commit和历史某个commit),然后一般都使用-a的tag https://www.runoob.com/git/git-tag.html https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E6%89%93% 阅读全文
posted @ 2022-11-01 15:27 ijpq 阅读(9) 评论(0) 推荐(0) 编辑
摘要: resources first GTC about cutlass, gtc2018 first GTC about cutlass, gtc2018 diigo pdf best nvidia tech blog about cutlass Accelerating Convolution wit 阅读全文
posted @ 2022-10-31 15:27 ijpq 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 基本介绍从这个link看的:https://www.techcenturion.com/nvidia-cuda-cores/ 其中,抽象上这里表述较好理解: Let us consider an example to understand the working of CUDA cores. Thi 阅读全文
posted @ 2022-10-31 15:26 ijpq 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 首次架构引入:volta, https://images.nvidia.cn/content/volta-architecture/pdf/volta-architecture-whitepaper.pdf nvidia tech blog about tensor cores: https://d 阅读全文
posted @ 2022-10-31 14:17 ijpq 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 旁路由 主路由 将此旁路由的lan mac做静态ip绑定 开启dhcp, dns和默认网关设置为:旁路由静态ip openclash 扩容 u盘挂在到根目录,不要挂在到overlay, 具体挂在到根目录查一下就知道 luci web 崩了怎么办 https://openwrt.org/docs/gu 阅读全文
posted @ 2022-10-28 22:14 ijpq 阅读(195) 评论(0) 推荐(0) 编辑
摘要: cuda toolkit v11.8 docs, link:https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/index.html preface assess评估 application 异构计算 application profil 阅读全文
posted @ 2022-10-25 18:37 ijpq 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 写copying函数(copy构造和copy赋值)时,复制所有local成员变量+调用base的适当coping函数。 如果发现copy构造和copy赋值有相同冗余的代码,消除冗余的方式是将这些代码放入private的一个成员函数中。 阅读全文
posted @ 2022-10-07 17:20 ijpq 阅读(12) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页