Skip to content

Conversation

@dpalermo
Copy link

@dpalermo dpalermo commented Oct 9, 2024

- Allows offload regions that need _FortranAAssign on device to link without GPU libc support
- Fixes unresolved symbols: strlen, memcpy, memset, memmove by using builtins
- Also moved a couple RT_OFFLOAD_VAR_GROUP_BEGIN to pick up additional declarations used in offload regions (seen in build warnings)
- There are still more opportunities where std::mem* routines are called that could use Fortran::runtime::mem* instead but will hold off on more changes until this patch is more fully exercised

    - Allows offload regions that need _FortranAAssign on device
      to link without GPU libc support
    - Fixes unresolved symbols: strlen, memcpy, memset, memmove
      by using builtins
    - Also moved a couple RT_OFFLOAD_VAR_GROUP_BEGIN to pick up
      additional declarations used in offload regions (seen in
      build warnings)
    - There are still more opportunities where std::mem* routines
      are called that could use Fortran::runtime::mem* instead
      but will hold off on more changes until this patch is more
      fully exercised
@ronlieb ronlieb merged commit 15949dd into amd-trunk-dev Oct 9, 2024
3 of 5 checks passed
@dpalermo dpalermo deleted the dp_flangrt_hostdev_builtins branch October 11, 2024 02:38
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