上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: Flame Graph项目位于GitHub上:https://github.com/brendangregg/FlameGraph 用git将其clone下来:git clone https://github.com/brendangregg/FlameGraph.git 如果是想使用火焰图展示系统 阅读全文
posted @ 2023-02-14 20:09 墨尔基阿德斯 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 。。 $ tar zxf readline-5.2.tar.gz $ cd readline-5.2/ $ ./configure --host=arm-linux --prefix=$(pwd)/_install $ make $ make install 中 ./configure --host 阅读全文
posted @ 2023-02-12 11:14 墨尔基阿德斯 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 参数值与编译链相关 https://gaomf.cn/2016/06/15/GCC%E4%B8%AD-march%E3%80%81-mtune%E3%80%81-mcpu%E4%B8%89%E4%B8%AA%E5%8F%82%E6%95%B0%E7%9A%84%E8%AE%BE%E7%BD%AE/ 阅读全文
posted @ 2023-02-03 19:20 墨尔基阿德斯 阅读(238) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/schips/p/13728080.html 阅读全文
posted @ 2023-01-16 14:12 墨尔基阿德斯 阅读(17) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yd137730268/article/details/52057265 阅读全文
posted @ 2023-01-12 10:44 墨尔基阿德斯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://www.php1.cn/detail/c_YuYanHuoQuDang_c0079976.html Linux 函数名: getcwd 功 能: 取得当前的工作目录 用 法: char *getcwd(char *buf, size_t size); 函数说明: getcwd()会将 阅读全文
posted @ 2023-01-02 19:22 墨尔基阿德斯 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 用VS2019在release模式下调试程序时,发现不能单步,会跳过某几行,最后发现是程序属性中优化设置的问题。 1、文档编码格式不对; 2、启用了代码优化; 阅读全文
posted @ 2022-12-19 09:10 墨尔基阿德斯 阅读(192) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/a_Treasure/article/details/83867465 vs的“属性页”设置让初学者很是头疼,记录一下“配置属性”的“常规”和“调试”选项卡的设置方法。 1.常规 输出目录 :编译生成的链接文件.ilk、.lib、.dll和可执行文件文件. 阅读全文
posted @ 2022-12-18 13:04 墨尔基阿德斯 阅读(900) 评论(0) 推荐(0) 编辑
摘要: 1、OpenCL错误码和说明2021年11月1日17:39:30:增加:错误码为-11时,除了语法错误,还有可能是OPENCL不支持数据的扩展精度,导致错误。如ARM的某些GPU上就禁用了fp64位,此时使用double会报-11的错误。 1 #define CL_SUCCESS 0 2 命令成功执 阅读全文
posted @ 2022-12-17 14:18 墨尔基阿德斯 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 改写自:https://zhuanlan.zhihu.com/p/451101452,该用零拷贝方案。 1、host函数 1 #include <CL/cl.h> 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <string.h> 5 # 阅读全文
posted @ 2022-12-16 15:28 墨尔基阿德斯 阅读(98) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页