Skip to content

Commit 4508c60

Browse files
vehrezbeekman
authored andcommitted
Fix addressing via get_by_ref()
- New: unlimited depth of references - Changed: internal token and introduced sub-token - No optimization yet - Fixes #399 Original commit, 722fba3, authored by @vehre, split into white space changes (previous commit) and substantive changes (this commit) by @zbeekman
1 parent 06032db commit 4508c60

File tree

7 files changed

+914
-315
lines changed

7 files changed

+914
-315
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,9 @@ if(opencoarrays_aware_compiler)
547547
add_mpi_test(register_alloc_comp_2 2 ${tests_root}/unit/init_register/register_alloc_comp_2)
548548
add_mpi_test(register_alloc_comp_3 2 ${tests_root}/unit/init_register/register_alloc_comp_3)
549549
add_mpi_test(async_comp_alloc 6 ${tests_root}/unit/init_register/async_comp_alloc)
550+
add_mpi_test(async_comp_alloc_2 2 ${tests_root}/unit/init_register/async_comp_alloc_2)
551+
add_mpi_test(comp_allocated_1 2 ${tests_root}/unit/init_register/comp_allocated_1)
552+
add_mpi_test(comp_allocated_2 2 ${tests_root}/unit/init_register/comp_allocated_2)
550553
endif()
551554
add_mpi_test(get_array 2 ${tests_root}/unit/send-get/get_array)
552555
add_mpi_test(get_self 2 ${tests_root}/unit/send-get/get_self)

src/libcaf.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,6 @@ typedef void* caf_token_t;
9494
typedef void * caf_team_t;
9595
#endif
9696

97-
/* Linked list of static coarrays registered. */
98-
typedef struct caf_static_t {
99-
caf_token_t token;
100-
caf_token_t stopped_token;
101-
struct caf_static_t *prev;
102-
}
103-
caf_static_t;
104-
10597
/* When there is a vector subscript in this dimension, nvec == 0, otherwise,
10698
lower_bound, upper_bound, stride contains the bounds relative to the declared
10799
bounds; kind denotes the integer kind of the elements of vector[]. */

0 commit comments

Comments
 (0)