MKL automatic cpu dispatch

MKL automatic cpu dispatch

I have two questions:

1. Is there an easyway to *print* what cpucode is dispatched actually? Something like
fprintf(myfile, "%s
", CPU_NAME[Get_MKL_cpuid()]);
I know this is a silly question because MKL will do its best and P4 will be detected as P4 in any case, but users of my program want to *see* whether SSE/SSE2 was actually used.

2. Is AMD64 (opteron or Athlon64) SSE2 detected by auto-dispatch? Or, is it treated as "generic" and no SSE2 is used?

If AMD64-SSE2 is not detected, then is there a way to enforce it? (through environmental variable or whatever)

Thank you!

Message Edited by on 03-21-2005 12:07 PM

Message Edited by on 03-21-2005 12:08 PM

1 条帖子 / 0 全新