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

[CUF] Support fixed size arrays completely #5

Open
domcharrier opened this issue May 4, 2021 · 0 comments
Open

[CUF] Support fixed size arrays completely #5

domcharrier opened this issue May 4, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@domcharrier
Copy link
Collaborator

GPUFORT can translate the following expressions as
they do not imply that an additional allocation and deallocation
must be generated at the begin and end of the scope.

real, device, allocatable :: x_d(:), y_d(:)

For the same reason, the translation of fixed-size array declarations is not
completely supported.

Hence,

 real, device :: x_d(N), y_d(N)

will simply be translated to

real, device, dimension(:) :: x_d
real, device, dimension(:) :: y_d

Currently, no corresponding hipMalloc and hipFree calls are generated into the code.

@domcharrier domcharrier added the enhancement New feature or request label May 4, 2021
@domcharrier domcharrier self-assigned this May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant