Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug fix] Switch from ROCM_VERSION_MAJOR to HIP_VERSION_MAJOR #4222

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

anagainaru
Copy link
Contributor

@anagainaru anagainaru commented Jul 3, 2024

Bug introduced in #4214 (PR solving the problem in ROCM API change for hipPointerAttribute_t:

ROCM 5.3: https://rocm.docs.amd.com/projects/HIP/en/docs-5.3.3/doxygen/html/structhip_pointer_attribute__t.html
ROCM 6.1: https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/structhip_pointer_attribute__t.html

@pnorbert this needs to be part of the latest release/patch or the GPU support on Frontier will give compile errors

@vicentebolea
Copy link
Collaborator

@anagainaru this seems to be reverse to what the api requires, rocm < 6 -> use memoryType; rocm > 6 -> use type

@vicentebolea
Copy link
Collaborator

IT seems to be something else, maybe ROCM_VERSION_MAJOR is not defined in frontier, I am bringing Frontier CI again lets check it there.

@anagainaru
Copy link
Contributor Author

Yes, this is why I just created a draft, I was unable to test rocm 6 yet :) but it's def not working on Frontier as is now

@anagainaru anagainaru changed the title [Bug fix] Fix which attribute member to use based on ROCM version [Bug fix] Switch from ROCM_VERSION_MAJOR to HIP_VERSION_MAJOR Jul 4, 2024
@anagainaru anagainaru changed the title [Bug fix] Switch from ROCM_VERSION_MAJOR to HIP_VERSION_MAJOR [Bug fix] Switch from ROCM_VERSION_MAJOR to HIP_VERSION_MAJOR Jul 4, 2024
@anagainaru anagainaru marked this pull request as ready for review July 4, 2024 18:28
@eisenhauer
Copy link
Member

bypass restrictions because macos-11 is gone.

@eisenhauer eisenhauer merged commit 1727527 into ornladios:master Jul 5, 2024
38 of 40 checks passed
@anagainaru anagainaru deleted the rocm-version branch July 5, 2024 02:57
@anagainaru anagainaru added this to the v2.10.2 milestone Oct 1, 2024
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this pull request Oct 23, 2024
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this pull request Oct 23, 2024
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this pull request Oct 23, 2024
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this pull request Oct 24, 2024
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this pull request Oct 24, 2024
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this pull request Oct 24, 2024
vicentebolea added a commit that referenced this pull request Oct 26, 2024
* release_210: (33 commits)
  Bump version to v2.10.2
  Merge pull request #4379 from vicentebolea/increace-cmake-version-dep-blosc
  Fix missing int64_t definition (#4365)
  Merge pull request #4346 from anagainaru/memSelLayout
  Merge pull request #4343 from anagainaru/gpuSpan
  Compress the lossless part of MGARD data with Zstd. It was uncompressed until now. (#4339)
  Fix an issue when reading blocks in streaming mode, when some producers did not write any block to output. (#4332)
  Fix in python API:  (#4331)
  Merge pull request #4303 from anagainaru/build-frontier
  Merge pull request #4293 from anagainaru/check_parser_lexer
  Derived variables of type StoreData should not record the expression string (#4247)
  Update ReadMe.md (#4243)
  Switch from ROCM_VERSION_MAJOR to HIP_VERSION_MAJOR (#4222)
  Merge pull request #4207 from anagainaru/hide-symbols
  Patch for when both xrootd and derived variables are activated (#4200)
  Add defines for BP3, BP4 and BP5 (#4191)
  Overload NdCopy instead of adding a new argument for the 2.10 release
  Revert "Backport #3759 to Release 2.10 branch. (cherry-picked from master branch #4340) (#4341)"
  Revert "Merge pull request #4189 from pnorbert/campaign-s3-support"
  ci,python: enable python win2022 serial build
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants