Skip to content

{devel}[gcccuda/2020b] hipify-clang 4.2.0#12961

Merged
boegel merged 6 commits intoeasybuilders:developfrom
nordmoen:hipify-clang
Jun 9, 2021
Merged

{devel}[gcccuda/2020b] hipify-clang 4.2.0#12961
boegel merged 6 commits intoeasybuilders:developfrom
nordmoen:hipify-clang

Conversation

@nordmoen
Copy link
Copy Markdown
Contributor

hipify-clang is a clang-based tool for translating CUDA sources into HIP sources.

Jørgen Nordmoen added 4 commits May 26, 2021 12:53
`hipify-clang` is a clang-based tool for translating CUDA sources into
HIP sources. It translates CUDA source into an abstract syntax tree,
which is traversed by transformation matchers. After applying all the
matchers, the output HIP source is produced.
# NOTE: The following configuration options are needed if building with tests
# (as activated by 'runtest' below), for these to work the above commented
# dependencies need to be uncommented. Currently testing is disabled due to a
# lack of 'llvm-lit'.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's llvm-lit exactly, do you have a link for that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not looked too much into this, but it is apparently LLVM's own test framework. It is built as a part of LLVM when testing is enabled.

]

configopts = '-DHIPIFY_CLANG_TESTS=0'
configopts += ' -DCMAKE_INSTALL_PREFIX=%(installdir)s'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is added automatically by CMakeMake, should not be needed?

@boegel boegel added the new label Jun 8, 2021
@boegel boegel added this to the 4.x milestone Jun 8, 2021

configopts = '-DHIPIFY_CLANG_TESTS=0'
configopts += ' -DCMAKE_INSTALL_PREFIX=%(installdir)s'
configopts += ' -DCMAKE_PREFIX_PATH=$EBROOTCLANG'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not required, set automatically and is even potentially harmful: We have set this as an env var and I'd need to look up if this overwrites (and hence removes) our stuff or not.
Anyway, this is already set so no need to do here :)

@nordmoen
Copy link
Copy Markdown
Contributor Author

nordmoen commented Jun 9, 2021

Made the requested changes

# ('Python', '3.8.6'),
]

configopts = '-DHIPIFY_CLANG_TESTS=0'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this is off by default, I think it makes sense to set it to 1 and comment it out next to the other test-related options below.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

@boegel
Copy link
Copy Markdown
Member

boegel commented Jun 9, 2021

@boegelbot please test @ generoso

@boegelbot
Copy link
Copy Markdown
Collaborator

@boegel: Request for testing this PR well received on generoso

PR test command 'EB_PR=12961 EB_ARGS= /apps/slurm/default/bin/sbatch --job-name test_PR_12961 --ntasks=4 ~/boegelbot/eb_from_pr_upload_generoso.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 17398

Test results coming soon (I hope)...

Details

- notification for comment with ID 857756674 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
generoso-c1-s-2 - Linux centos linux 8.2.2004, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/9787ba488987580afd94473651c6dfde for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jun 9, 2021

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
node2617.swalot.os - Linux centos linux 7.9.2009, x86_64, Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (haswell), Python 3.6.8
See https://gist.github.com/e52ba36ead7426efe9c4d3f62fbc7949 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jun 9, 2021

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
node3503.doduo.os - Linux RHEL 8.2, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.6.8
See https://gist.github.com/32b374af9d2cc2903798dc0925802f39 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jun 9, 2021

Going in, thanks @nordmoen!

@boegel boegel merged commit 6312178 into easybuilders:develop Jun 9, 2021
@boegel boegel modified the milestones: 4.x, next release (4.4.1) Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants