“-Wno-variadic-macros”
Clang in LLVM 2.7
clang-cc is not in LLVM 2.7. Use “clang -cc1” command.
clang -cc1 -help. 🙂
Yi Yang
A GPGPU compiler for memory optimization and parallelism management
http://portal.acm.org/citation.cfm?id=1806596.1806606
This paper presents a optimizing compiler for GPGPU. The compiler gets naive kernels, and generates the kernels that optimized in memory coalescing, thread & thread-block merging and removing memory partition camping. This paper assumes that all necessary information such as kernel index space, kernel parameters can be known at compile time. However typical CUDA or OpenCL program get the paremeter on runtime not static. Morever the benchmark that used in this paper is so trivial. The longest kernel code is just only 27 line.
Time zones in North America
Muthu Manikandan Baskaran
Automatic data movement and computation mapping for multi-level parallel architectures with explicitly managed memories
Understanding the Difference Between an Argument and a Parameter
http://www.devx.com/tips/Tip/13049
void func(int n, char * pc); //n and pc are parameters
template <class T> class A {}; //T is a a parameter
int main()
{
char c;
char *p = &c;
func(5, p); //5 and p are arguments
A<long> a; //’long’ is an argument
A<char> another_a; //’char’ is an argument
return 0;
}
Comparison of Different Open Source Licenses
J. Ramanujam
Copile-Time Techniques for Data Distribution in Distributed Memory Machines
http://portal.acm.org/citation.cfm?id=628898.629058
blahblah
Ken Kennedy
Automatic data layout for distributed-memory machines
http://portal.acm.org/citation.cfm?id=291891.291901
blah
Pete Keleher
TreadMarks: distributed shared memory on standard workstations and operating systems
http://portal.acm.org/citation.cfm?id=1267084
TreadMarks is a DSM system that exploits Lazy Release Consistency Model and Lazy Diff Creation. Lazy Release Consistency postpone the propgation of modifications in distributed system until the time of the acquire (later synchronization point) to reduce communication overhead. Lazy Diff Creation is a technique for false sharing, and postpone making diff to decrease the number of diffs.
Yunheung Paek
Simplification of array access patterns for compiler optimizations
http://portal.acm.org/citation.cfm?id=277650.277664
Authors present a noble technique named LMAD(Linear Memory Access Descriptor). LMAD consists of stride/span pairs and base offset. Analyzing complex array access pattern could be simpler with LMAD. Thus, some compiler optimizations based on array region operations such as array privatization and dependence analysis are easier when processed with LMAD. Authors observed a lot of benchmarks and categories common forms of access pattern into coalesceable, interleaved, and contiguous accesses. These accesses could be aggregated with LMAD.
How to delete all files in a CVS directory
ls -1 > tmp
cat tmp | xargs rm -f
cat tmp | cvs delete
cvs commit -m “”
cvs update
How to remove all except the newest file
rm -f !(`ls -t | head -1`)
How to install Grub from a live Ubuntu cd
$ sudo -i
$ grub
grub> find /boot/grub/stage1
(hd0, 5)
grub> root (hd0, 5)
grub> setup (hd0)
Replace string in file with sed
sed -i ‘s/old/new/g’ filename
😉
Intel Compiler with Ubuntu 9.10
http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/
How to delete ^M character using vi
In vi, do a :%s/^M//g
To get the ^M hold the control key, press V then M (Both while holding the control key) and the ^M will appear.
or dos2unix
Finger Scar
I have cut my nails short since I was a high school student.
I felt very uncomfortable when my nails are long. I cannot stand it!
So there is always a nail clipper on my desk.
777 FOREVER!!