摘要: 1.杀掉某个用户的所有进程 killall -u 用户名 2.Ubuntu20.04查看mac地址 ip addr show 结果在link/ether查看 3.获取某个文件夹下以某个后缀结尾的文件的个数(这里以.h5为例) 3.1 先进入该目录 3.2 输入以下命令 ls -1 *.h5 | gr 阅读全文
posted @ 2024-01-15 09:40 Mr42Sir 阅读(27) 评论(0) 推荐(0)
摘要: 1.https://gist.github.com/jpz/1c33c466b9af1287abfa51497ab1c0a4 阅读全文
posted @ 2023-12-01 11:31 Mr42Sir 阅读(39) 评论(0) 推荐(0)
摘要: 背景 编译报错 OpenCL platform ID is empty OpenCL platform name is empty Failed to find any of these OpenCL platforms: Intel(R) FPGA Emulation Platform for O 阅读全文
posted @ 2023-11-30 15:37 Mr42Sir 阅读(156) 评论(0) 推荐(0)
摘要: 注意,是配置root用户的 export ROOT=/home export QUARTUS_ROOTDIR=$ROOT/intelFPGA/18.1/quartus export INTELFPGAOCLSDKROOT=$ROOT/intelFPGA/18.1/hld export PATH=$P 阅读全文
posted @ 2023-11-29 10:43 Mr42Sir 阅读(92) 评论(0) 推荐(0)
摘要: 参考链接: https://www.zhihu.com/column/c_1165595669594689536 阅读全文
posted @ 2023-11-19 22:00 Mr42Sir 阅读(32) 评论(0) 推荐(0)
摘要: 一、具体操作 查看物理CPU个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 查看每个物理CPU中core的个数(即核数) cat /proc/cpuinfo| grep "cpu cores"| uniq 查看逻辑CPU的个数 阅读全文
posted @ 2023-11-18 10:18 Mr42Sir 阅读(75) 评论(0) 推荐(0)
摘要: 一、进入docker容器,并以bash命令与该docker容器交互 sudo docker exec -it docker容器id bash 阅读全文
posted @ 2023-11-16 15:16 Mr42Sir 阅读(154) 评论(0) 推荐(0)
摘要: In the CMake script you provided, the second parameter of the add_library() function is an empty string "". This is a common pattern used in CMake to 阅读全文
posted @ 2023-11-15 17:53 Mr42Sir 阅读(116) 评论(0) 推荐(0)
摘要: 背景 笔者学习WonderTrader的源码的一些心得体会,本文基于WonderTrader0.9.8,讲解其中的DLLHelper类 先看它的应用 1. wondertrader\src\TestTrader\main.cpp 2. wondertrader\src\Includes\ITrade 阅读全文
posted @ 2023-11-14 16:16 Mr42Sir 阅读(391) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1151941/202311/1151941-20231101103951262-1255503994.png) 阅读全文
posted @ 2023-11-01 10:40 Mr42Sir 阅读(60) 评论(0) 推荐(0)