会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
peifx
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
18
下一页
2023年2月12日
交叉编译 configure
摘要: 。。 $ 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 墨尔基阿德斯
阅读(199)
评论(0)
推荐(0)
2023年2月3日
GCC中-march、-mtune、-mcpu三个参数的设置
摘要: 参数值与编译链相关 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 墨尔基阿德斯
阅读(527)
评论(0)
推荐(0)
2023年1月16日
汇总:"undefined reference to" 问题解决方法
摘要: 汇总:"undefined reference to" 问题解决方法 - schips - 博客园
阅读全文
posted @ 2023-01-16 14:12 墨尔基阿德斯
阅读(31)
评论(0)
推荐(0)
2023年1月12日
线程池模式
摘要: https://blog.csdn.net/yd137730268/article/details/52057265
阅读全文
posted @ 2023-01-12 10:44 墨尔基阿德斯
阅读(8)
评论(0)
推荐(0)
2023年1月2日
c语言获取当前工作路径的实现代码(windows/linux)
摘要: 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 墨尔基阿德斯
阅读(1770)
评论(0)
推荐(0)
2022年12月19日
vs调试时不能单步调试,会跳过某些行
摘要: 用VS2019在release模式下调试程序时,发现不能单步,会跳过某几行,最后发现是程序属性中优化设置的问题。 1、文档编码格式不对; 2、启用了代码优化;
阅读全文
posted @ 2022-12-19 09:10 墨尔基阿德斯
阅读(359)
评论(0)
推荐(0)
2022年12月18日
Visual Studio的调试选项卡的工作目录和环境设置
摘要: https://blog.csdn.net/a_Treasure/article/details/83867465 vs的“属性页”设置让初学者很是头疼,记录一下“配置属性”的“常规”和“调试”选项卡的设置方法。 1.常规 输出目录 :编译生成的链接文件.ilk、.lib、.dll和可执行文件文件.
阅读全文
posted @ 2022-12-18 13:04 墨尔基阿德斯
阅读(2451)
评论(0)
推荐(0)
2022年12月17日
opencl错误码
摘要: 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 墨尔基阿德斯
阅读(185)
评论(0)
推荐(0)
2022年12月16日
opencl实现图像旋转(二维数组)。
摘要: 改写自: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 墨尔基阿德斯
阅读(169)
评论(0)
推荐(0)
opencl优化-Zero Copy
摘要: 转自:https://www.cnblogs.com/willhua/tag/OpenCL/ 有两种方式实现从主机到CL设备的数据传递,第一种: 1 cl_mem input = clCreateBuffer(context,CL_MEM_READ_ONLY,sizeof(float) * DATA
阅读全文
posted @ 2022-12-16 14:38 墨尔基阿德斯
阅读(605)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
18
下一页
公告