As discussed on openmp-dev mailing list.
This patch enables OMPT by default if version 50 or later is built and the config says, that OMPT will be supported.
Differential D41508
[OMPT] Build runtime with OMPT support by default protze.joachim on Dec 21 2017, 11:33 AM. Authored by
Details As discussed on openmp-dev mailing list. This patch enables OMPT by default if version 50 or later is built and the config says, that OMPT will be supported.
Diff Detail Event TimelineComment Actions I don't think we should enable this unconditionally, only for the architectures where we tested and are sure that the tests will pass: x86, x86_64, ppc64, aarch64 on Linux, macOS if we want to. With the current change we will get into trouble at least on MIPS(64).
Comment Actions I added the requirement for hardware architecture support to LIBOMP_HAVE_OMPT_SUPPORT. Also implemented Jonas' suggestion. Comment Actions @Hahnfeld gosh, you're right and I don't work with 32-bit systems nowadays so I need to track down one of those still kept online. Being far from the office isn't helping, so it won't happen immediately. Comment Actions Looks good so far. Can you document the change of the default value in the (just committed) README.rst? Comment Actions LG. I'd feel better with an explicit acknowledgment from Intel though... (We should probably add a few sentences to Clang's release notes so that users know the reason should they see a performance degradation. I can handle that after this patch landed.)
|
I think it would be better to only have one definition of cache variables: