I have installed STM compiler and tried to run the 2 code snippet available on website.
Command line that compiled correctly: icc -openmp intel_stmtest_hashtable.c -o hashtable
Command line shown on website gave a warning "ignoring unknown option -Qtm_enabled" : icc -Qtm_enabled -openmp intel_stmtest_hashtable.c -o hashtable
Do I need -Qtm_enabled option to use the TM constructs ? If I need it then how should I give the option ?
Also can I get some benchmarks (at least one) where I can see the performance comparison of sequential code vs Coarse Grain Lock/Fine Grain Lock based OpenMP code vs Intel TM code ? I can take the TM constructs out from intel_stmtest_hashtable.c to see the sequential code vs Intel TM improvement but writing the code with locks will take some effort.
I also want to mention that the performance comparison mentioned in OOPSLA paper feels better than the Stanford's group work (who derived their TM from Sun's TL). I think getting TM performance comparable to coarse grain or fine grain lock is great :-) !