上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: /****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger t 阅读全文
posted @ 2023-02-06 17:12 ijpq 阅读(46) 评论(0) 推荐(0)
摘要: 原文:https://vanderbei.princeton.edu/tex/myPapers/OptimalChoice.pdf 原因:作为秘书问题的一个引申,如果不只是选一个最好的,而是选一组最好的呢? 1 intro 本文关注的最优子集(excellent set)记为D。在观察完所有的候选对 阅读全文
posted @ 2023-02-01 10:51 ijpq 阅读(55) 评论(0) 推荐(0)
摘要: 只是将p指针的操作改为store byte,即reinterpret之后的操作指令 阅读全文
posted @ 2023-01-18 11:40 ijpq 阅读(25) 评论(0) 推荐(0)
摘要: ref : https://github.com/wuye9036/CppTemplateTutorial#323-%E7%89%B9%E5%8C%96%E4%B8%80%E4%BA%9B%E5%85%B6%E5%AE%83%E9%97%AE%E9%A2%98 这段就是说: 这个int实参在替换第一 阅读全文
posted @ 2023-01-16 23:29 ijpq 阅读(44) 评论(0) 推荐(0)
摘要: 模板中的行参类型推断会省略引用 在这两种模板中,行参的引用都会在推断过程中被省略 template<typename T> //template A void f(T &param); template<typename T> // template B void f(T param); 而temp 阅读全文
posted @ 2023-01-15 18:54 ijpq 阅读(43) 评论(0) 推荐(0)
摘要: 普通enum enum中的枚举值位于enum本身所在的作用域中 这两个enum都位于全局作用域中,因此A和B的枚举值也位于全局作用域中,就会引发命名冲突 而把A和B分离在两个作用域中,就不会引发命名冲突 存在枚举值向整数类型的隐式转换,但不存在整数类型向枚举的隐式转换 enum -> integer 阅读全文
posted @ 2023-01-15 16:47 ijpq 阅读(80) 评论(0) 推荐(0)
摘要: https://stackoverflow.com/questions/47666913/template-specialization-for-enum-values https://stackoverflow.com/questions/1619993/template-specializati 阅读全文
posted @ 2023-01-13 11:25 ijpq 阅读(47) 评论(0) 推荐(0)
摘要: NV12属于yuv color space,具有如下的编码格式,基本上yuv420都是这样的编码格式,比如YUV_I420就是上面仍然是Y,下面是先U,然后再V。U占{IMAGE_WIDTH/2,IMAGE_HEIGHT/2}块数据,V同理。具体见:https://wiki.videolan.org 阅读全文
posted @ 2023-01-13 11:24 ijpq 阅读(1653) 评论(0) 推荐(0)
摘要: 3 - getting started 3.1 设置cuda-gdb的调试环境 3.1.1 临时文件存放位置 By default, CUDA-GDB uses /tmp as the directory to store temporary files. To select a different 阅读全文
posted @ 2023-01-05 19:49 ijpq 阅读(471) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1481923/202301/1481923-20230104151028841-83140938.png) 例如warpshape is 64x32, WarpShape::kRow = 8, WarpShape::kCol 阅读全文
posted @ 2023-01-04 15:10 ijpq 阅读(69) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页