This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] SPEC2017 CPU wrf floating point tests.
ClosedPublic

Authored by naromero77 on May 3 2021, 3:14 PM.

Details

Summary

Add SPEC2017 CPU wrf floating point rate and speed test.

Allow for possibility that wrf rate and speed tests might be compiled differently. VALIDATOR and WRF_SPECPP targets are a function of the BENCHMARK_SUITE_TYPE.

Diff Detail

Repository
rT test-suite

Event Timeline

naromero77 created this revision.May 3 2021, 3:14 PM
naromero77 requested review of this revision.May 3 2021, 3:14 PM
Meinersbur added inline comments.May 4 2021, 9:57 AM
External/SPEC/CFP2017rate/521.wrf_r/CMakeLists.txt
14

This is odd. Why not using WRF_SPECPP_${BENCHMARK_SUITE_TYPE} directly?

It seems to be uses as library name. Capitalizaton is odd for a library.

24–40

Could you move the macro documentation before the macro?

154–155

[nit] indention

naromero77 updated this revision to Diff 342938.May 4 2021, 9:13 PM
  • Remove extraneous tab characters which messed up indentation.
  • Move comments before macro definition and update description.
  • CMAKE_CURRENT_BINARY_DIR did not need to be added as an included directory.
  • Adjust name of target object library to lowercase and append BENCHMARK_SUITE_TYPE
naromero77 marked 3 inline comments as done.May 4 2021, 9:57 PM
Meinersbur accepted this revision.May 5 2021, 7:45 AM

LGTM, thank you.

External/SPEC/CFP2017rate/521.wrf_r/CMakeLists.txt
186–187

[style] If the call takes multiple lines, usually each argument gets its own line

This revision is now accepted and ready to land.May 5 2021, 7:45 AM
This revision was automatically updated to reflect the committed changes.