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

Restructure modules #68

Merged
merged 25 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1209e58
Begin module restructing. Create `prif_private_s` submodule. Move
ktras Feb 26, 2024
cd9b780
Remove `program_termination_m` and move all its interfaces to
ktras Feb 26, 2024
e1f8e4a
Remove `atomic_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
9873513
Remove `notify_m` and move all its interfaces to `prif`. Move
ktras Feb 26, 2024
9794aed
Remove `events_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
37725c3
Remove `critical_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
b0e54a8
Remove the `critical_m` module that is no longer used.
ktras Feb 26, 2024
a301b8f
Remove `locks_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
e5f357b
Remove `synchronization_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
4f77f71
Rename `collective_subroutines_m` to `collective_helpers_m`. Move
ktras Feb 26, 2024
858b1f1
Remove `prif_queries_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
8342585
Remove `image_queries_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
6bbb607
Remove `coarray_queries_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
f5b13e4
Remove `alias_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
df5fee0
Remove `coarray_access_m` and move all its interfaces to `prif`. Change
ktras Feb 26, 2024
989f629
Finish module restructuring by removing `allocation_m` and
ktras Feb 27, 2024
542ffd1
Make all components of derived types defined in `prif` private.
ktras Feb 27, 2024
b154abe
Fix order of an interface in `prif`
ktras Feb 27, 2024
10d70ef
Add explicit private and public attributes markers to each of
ktras Feb 27, 2024
23fcb6e
Move private type definition to bottom of `prif`
ktras Feb 28, 2024
fe4ca67
Restrict `public` and `private` attribute declarations for the
ktras Feb 28, 2024
f5e0cf3
Update README prerequisite table.
ktras Feb 28, 2024
a95d8f4
Update `caf_co_reduce_test` to only use contained functions
ktras Feb 28, 2024
80459f5
Move all abstract interfaces from `collective_helpers_m` into
ktras Feb 28, 2024
bd8e501
Update doc-generator.md and delete a module and submodule made
ktras Mar 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions src/caffeine/alias_m.f90

This file was deleted.

2 changes: 1 addition & 1 deletion src/caffeine/alias_s.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! Copyright (c), The Regents of the University of California
! Terms of use are as specified in LICENSE.txt
submodule(alias_m) alias_s
submodule(prif:prif_private_s) alias_s

implicit none

Expand Down
77 changes: 0 additions & 77 deletions src/caffeine/allocation_m.f90

This file was deleted.

10 changes: 2 additions & 8 deletions src/caffeine/allocation_s.f90
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
! Copyright (c), The Regents of the University of California
! Terms of use are as specified in LICENSE.txt
submodule(allocation_m) allocation_s
submodule(prif:prif_private_s) allocation_s
use iso_c_binding, only: &
c_sizeof, &
c_f_pointer, &
c_f_procpointer, &
c_loc, &
c_associated, &
c_null_ptr, &
c_null_funptr, &
c_bool, &
c_ptrdiff_t
c_null_funptr
use caffeine_h_m, only: caf_allocate, caf_deallocate, caf_this_image, as_int, as_c_ptr
use collective_subroutines_m, only: prif_co_sum
use program_termination_m, only: prif_error_stop
use synchronization_m, only: prif_sync_all
use teams_m, only: prif_team_type, current_team

implicit none

Expand Down
3 changes: 1 addition & 2 deletions src/caffeine/assert/assert_s.f90
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

module procedure assert
use caffeine_characterizable_m, only : characterizable_t
use program_termination_m, only: prif_error_stop
use image_queries_m, only: this_image => prif_this_image
use prif, only: prif_error_stop, this_image => prif_this_image

character(len=:), allocatable :: header, trailer
integer :: me
Expand Down
2 changes: 1 addition & 1 deletion src/caffeine/assert/intrinsic_array_s.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
submodule(caffeine_intrinsic_array_m) caffeine_intrinsic_array_s
use iso_c_binding, only: c_bool
use program_termination_m, only: prif_error_stop
use prif, only: prif_error_stop
implicit none

contains
Expand Down
151 changes: 0 additions & 151 deletions src/caffeine/atomic_m.f90

This file was deleted.

2 changes: 1 addition & 1 deletion src/caffeine/atomic_s.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! Copyright (c), The Regents of the University of California
! Terms of use are as specified in LICENSE.txt
submodule(atomic_m) atomic_s
submodule(prif:prif_private_s) atomic_s

implicit none

Expand Down
Loading
Loading