- 博客(42)
- 资源 (2)
- 收藏
- 关注
原创 linux 下用crossover 安装 cajviewer
最近在看看些cnki上的博士论文,都是caj格式. 本人多年只用linux, 网上没有搜到linux安装cajviewer的.特此写出.需要准备工作:1. crossover, 我自己买的, crossover 对office2010支持很好. 半价之后只需要40块钱.2. cajviewer 7.2 从cnki下载, 其他网站上下的7.1等其他版本 的有些问
2016-04-29 10:34:38
2115
1
原创 texlive 在 fedora 19 的中文问题解决
主要参照了http://zhidao.baidu.com/link?url=JkoIq_-adSIWI08Q-ouMaANDmQOaLf8ZeYKVFopJXxhkdf5aKVJTEsq6HuD4GV8qALarXNvxba5fVChY01Wn6vY7j1plODuudAv3o6mkQ3u&from=commentSubmit#answers1903730326还有自己的一些摸索。
2015-03-21 20:40:21
744
转载 矩阵卷积、矩阵相乘的转化
两个矩阵卷积转化为矩阵相乘形式——Matlab应用(这里考虑二维矩阵,在图像中对应)两个图像模糊(边缘)操作,假设矩阵A、B,A代表源图像,B代表卷积模板,那么B的取值决定最后运算的结果。 Matlab中的应用函数——conv2(二维卷积,一维对应conv) 函数给出的公式定义为: 同一维数据卷积一样,它的实质在
2015-01-29 10:30:39
1212
原创 caffe 依赖库的 gflag glog 在Redhat 上的源码安装
打算安装caffe, 依赖了一堆东西, ubuntu的用户会方便写,可以直接apt-get install我是fedora的忠实粉丝,这次有点受苦。不过通过google, 不到一下午就已经成功安装caffe的dev版,其中问题最难解的是 gflag, glog. 本人的glibc 版本不高,所以rpm包也用不起来(需要libc.so.6)。所以最终选择源码编译。先装g
2015-01-27 21:03:58
8858
原创 关于 stanford UFLDL exercise cnnConvo.m 的 rot90
最主要的原因是 要实现 sigma(wx+b)的形式, 而非要用卷积形式因为filter2(f,A, 'valid') = conv2(A,rot90(f,2),'valid')测试:>> aaaa = 8 3 4 1 5 9 6 7 2>> aa
2015-01-25 00:59:35
693
原创 ITK 安装
关于依赖库或者依赖软件的安装,在这里就不再说了。我在安装过程中遇到的问题是: Width with l64 failed with result: FAILED_TO_RUN Width with l failed with result: FAILED_TO_RUN Width with L failed with result: FAILED_TO_RUN
2014-07-09 16:05:01
1399
1
原创 clang 分析OpenCL 代码
目前仅实现了对参数qualifier的提取,可以很方便在ast上加入其他操作。#include #include "llvm/Support/Host.h"#include "llvm/ADT/IntrusiveRefCntPtr.h"#include "clang/Basic/DiagnosticOptions.h"#include "clang/Frontend/T
2014-02-26 03:44:06
2947
原创 代码的优化过程: 生成括号 Generate Parentheses
我是DFS的初学者,所以比较在意一些形式化的东西。现在我一步步得出那样的代码。 版本0: 学习permutation unique 的解法。 5 vector > permuteUnique(vector &num) { 6 vector >result = vector >(); 7 vector tmp = vector(
2014-02-22 00:58:19
789
原创 美国大学排名 计算机方向 前40
1 Carnegie Mellon University (PA) 5.0 2 Massachusetts Institute of Technology 5.0 3 Stanford University (CA) 5.0 4 University of California -- Berkeley 5.0 5 Cornell University (NY) 4.6
2013-01-29 15:32:43
672
原创 vtune 使用pmc 时间的配置
Vtune的安装下载parallel_studio_xe_2013_intel64.tgz安装里面cl/home/zxx/package/parallel_studio_xe_2013_intel64/amplifier_CLI_install./install.sh然后安装guirpm-iintel-vtune-amplifier-xe-g
2013-01-24 17:08:23
982
原创 smp_call_function 功能
int smp_call_function(smp_call_func_t func, void *info, int wait);在 smp机器上,除了正在调用smp_call_function之外的所有核调用 func . 例子.#include #include #if CONFIG_MODVERSIONS==1#define MODVERSIONS#inclu
2013-01-08 10:46:41
7765
1
原创 pthread 陷阱
简单的一个插入排序过程初级版本.错误版本void *InsArray(void *args){ SLink *slist=((void **)args)[0]; int *array=((void **)args)[1]; int *n=((void **)args)[2]; pthread_mutex_t *mutex=((void **)
2013-01-03 22:57:57
1004
原创 fedora 16 下编译linux 内核
处理器 i5-2520 2.5ghz 4coresgcc 4.6当前系统: 3.3.下载源码: 从www.kernel.org/ 下载较新的稳定内核 3.4.8 解压到 /usr/src/kernel 下面进入linux-3.4.8 目录下make menuconfig 默认选项保存下面命令进行着make -j 4 bzImagetime 21.21
2012-08-11 22:00:51
1135
转载 How X Over SSH really works
http://dustwell.com/how-x-over-ssh-really-works.htmlImagine you are sitting in front of a machine named "home" that has a keyboard, mouse, display, and is running an X server. Now you open a termina
2012-07-11 11:27:19
742
原创 Openoffice 3.4 在fedora14上的安装.
1. 首先下载http://www.openoffice.org/download/other.html 选择合适的二进制包. Linux Intel RPM2. fedora 14 自带了 openoffice writer ,但是没有其他,如,cal .等. 安装新的 Apache_OpenOffice_incubating_3.4.0_Linux_x86_i
2012-05-15 17:39:29
874
原创 fedora 下 wine 运行酷我音乐盒
按照说明一步步来,不过wine 运行kwmusic 速度很慢.详细步骤:1.下载 winetricks2.执行 winetricks wmp9,安装 Windows Media Player(安装需要两遍,安装时鼠标会失效,需要用键盘的 Enter 或 Alt + * 操作,之后还会同时安装 wmp7 codecs)3.执行 winetricks allcodecs,安装编
2012-04-30 23:46:17
1533
原创 thunderbird 配置文件
linux 下的thunderbird 配置文件与windows位置不太一样.edit-> preference-> config-edit -> about:config
2012-04-27 11:06:58
1103
原创 Mutt
his file describes how to use msmtp 1.4.0 or newer with Mutt.1. Install msmtp: $ ./configure $ make $ make install2. Configure msmtp: Create the file .msmtprc in your home di
2012-04-26 16:27:35
560
原创 远程执行bash
我在机器A上跑个脚本, 脚本里有一个语句需要登录到机器B, 然后在B上做些操作. 问题是,当登录到节点B时,就不按照脚本A中所说的执行了, 原因可能是在机器B上不知道任务是什么. 因为bash 是在A上跑的. 怎么才能远程bash ?ssh -i /root/private root@node1 /bin/bash chown -R swift:nogroup /etc/s
2012-04-25 11:18:39
909
原创 movhlps
movhlps MOVHLPS (128-bit two-argument form)DEST[63:0] SRC[127:64]DEST[VLMAX-1:64] (Unmodified)高位不变。
2012-04-18 22:10:58
713
原创 cpu signature
In fact ,it is the concatenation of eax[19,16] eax[15,8] eax[7,4] eax[19,16] eax[7,4] is the model eax[15,8] is the cpu family
2012-04-18 21:36:19
1199
原创 Shuffle Latency and throughput 对比
instruction latency 1/throughput 06_2AVPERM2F128 ymm1, ymm2, ymm3, imm 1 1VPERMILPD/PS ymm1, ymm2, ymm3 1 1VSHUFPD/PS ymm1, ymm2, ymm3, imm 1
2012-04-18 16:08:27
765
原创 permute 指令
AVX 1. VPERMILPD — Permute Double-Precision Floating-Point ValuesVPERMILPD xmm1, xmm2,xmm3/m128Permute double-precisionfloating-point values inxmm2 using controls fromxmm3/mem an
2012-04-18 15:45:27
1063
原创 Blend 指令
BLENDPD — Blend Packed Double Precision Floating-Point Valuessse4_1BLENDPD xmm1, xmm2/m128, imm8Select packed DP-FP valuesfrom xmm1 andxmm2/m128 from maskspecified in imm8 and storet
2012-04-18 15:31:27
924
原创 浮点shuffle
1.SHUFPD—Shuffle Packed Double-Precision Floating-Point ValuesSHUFPD xmm1, xmm2/m128, imm8IF IMM0[0] = 0THEN DEST[63:0] SRC1[63:0]ELSE DEST[63:0] SRC1[127:64] FI;IF IMM0[1] = 0THEN
2012-04-18 10:18:18
628
原创 整数 shuffle
in place shufflePSHUFB (with 64 bit operands)PSHUFB mm1, mm2/m64 for i = 0 to 7 {if (SRC[(i * 8)+7] = 1 ) thenDEST[(i*8)+7...(i*8)+0] ← 0;elseindex[2..0] ← SRC[(i*8)+2 .. (i*8)+0
2012-04-17 16:48:53
805
转载 cache block 矩阵矩阵乘
1. 请编写两个1024*1024大小的矩阵(矩阵元素为double类型)相乘的程序。要求采用分块相乘的技术以提高效率,并分析分块方式和Cache容量之间的关系。解:程序如下: // 由于参数发生了修改,请修正答案。#include #include const int block_size=16; //控制矩阵相乘的块的大小const int array_size=102
2012-03-29 23:03:42
3039
转载 Linux 查看硬件信息
系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备# ls
2012-03-29 19:54:06
531
原创 amd 处理器命名规则
随着采用 K10架构 的 AMD处理器 的神秘面纱被逐渐揭开,我们发现他们的命名方式也有了一些改变。新品处理器采用了字母加数字的组合方式,下面就来解释其具体含义: 如:Athlon X2 BE-2350 1、Athlon:所属系列,目前已知的有“Phenom”(高端);“Athlon”(主流);“Sempron”(入门级)。 2、X2:核心数量
2012-03-23 22:33:53
6955
原创 计算机进阶 读书目录
From the Bottom UpThis list is in the best reading order I could find. It’s not necessarily easiest tohardest, but based on subject matter.• Programming from the Ground Up by Jonathan Bartlett
2012-03-18 15:59:16
763
原创 Vtune: amplxe-cl 命令行使用
参考文献点击打开链接http://software.intel.com/sites/products/documentation/hpc/amplifierxe/en-us/2011Update/lin/ug_docs/index.htmamplxe-cl -collect hotspots -- ./driver /home/zxx/work_autumn_2011/matr
2012-03-17 21:07:55
5392
转载 Event Configuration from the Command Line
Submit New Article June 7, 2011 9:00 PM PDT With the release of the VTune™ Amplifier XE 2011 Update 3, you can now collect hardware-based sampling
2012-03-17 19:06:58
601
转载 Jobs letter
I have always said if there ever came a day when I could no longer meet my duties and expectations as Apple’s CEO, I would be the first to let you know.Unfortunately, that day has come.I hereb
2012-03-17 18:13:05
444
翻译 vtune report
-R, -report= Generate a report with the specified name. Generate a formatted data report with the specified name and action options. Action Options: -call-stack-mode=all | u
2012-03-17 11:37:45
1017
翻译 vtune import:用的不多.
-import= Import data to a result directory. Create a result directory by importing one or more legacy data files/directories. Action Options: -call-stack-mode=all | us
2012-03-17 11:36:32
528
翻译 amplxe-cl -finalize:用的不多.
-I, -finalize Re-finalize the result. Re-start postprocessing (finalization) of the collected data. Use this option to find symbol information in the search directories updated
2012-03-17 11:35:31
737
翻译 Vtune how to use?
Usage: amplxe-cl [-action-option] [-global-option] [[--] target [target options]] To view the results in the IDE, double-click the .amplxe file located in the result directory. Type 'ampl
2012-03-17 11:34:25
624
翻译 amplxe-cl -help command
Intel(R) VTune(TM) Amplifier XE 2011 Update 7 (build 206420) Command Line ToolCopyright (C) 2009-2011 Intel Corporation. All rights reserved.-command=detach | pause | resume | stop | status | ma
2012-03-17 11:32:29
678
翻译 amplxe-cl -help collect-with
Intel(R) VTune(TM) Amplifier XE 2011 Update 7 (build 206420) Command Line ToolCopyright (C) 2009-2011 Intel Corporation. All rights reserved.-collect-with= Choose collector. Perform
2012-03-17 11:31:02
1262
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人