I'm trying to use C++ to generate different versions of gemm based on the samples included in amplifier. All I've done is to make one of the multiplication function to be a template function and use it with a basic matrix class. If I compile the code on the host, amplifier clearly shows the source file, a header file, and the line and corresponding assembly code. But, I cannot do the same when I compile the code using the native mode. The columns for module/function/source file are empty. Here are the compilation and I'm doing the simple hotspot analysis. CPU: icpc -g -restrict -O3 -fopenmp -I. -o matrix.xeon matrix.cpp MIC: icpc -mmic -g -restrict -O3 -fopenmp -I. -o matrix.mic matrix.cpp Compiler version 14.0.2 20140120 There is no problem running c code using the Makefile in matrix_vtune_amp_xe.tgz. First, I blame cmake but I must be doing something basic incorrectly. Thank you in advance, Jeongnim
Tim is right. If you can't find symbol info after data collecting with native binary on MIC, please use below example in command line:
amplxe-cl -collect -knc-hotspots --search-dir all:rpm=$dir -- ssh mic0 /root/app,
amplxe-cl -collect -knc-hotspots -- ssh mic0 /root/app , THEN
amplxe-cl -finalize --search-dir all:rpm=$dir -result r001??