From c7ec176dc3ce96815d06d83a5600a8f7bd5b6939 Mon Sep 17 00:00:00 2001 From: phung4 <phung4@unknown> Date: Thu, 21 Oct 2004 23:52:31 +0000 Subject: [PATCH] moved pa_node structs to partition_allocator.h --- src/partition_allocator/graph_structs.h | 29 ------------------- src/partition_allocator/partition_allocator.h | 29 +++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/partition_allocator/graph_structs.h b/src/partition_allocator/graph_structs.h index 5b6eeac531f..7388730a0f4 100644 --- a/src/partition_allocator/graph_structs.h +++ b/src/partition_allocator/graph_structs.h @@ -211,35 +211,6 @@ typedef struct partition } partition_t; -struct pa_request; -typedef struct pa_request { - int* geometry; - int size; - int conn_type; - bool rotate; - bool elongate; - bool force_contig; -} pa_request_t; - -/** - * pa_node: node within the allocation system. Note that this node is - * hard coded for 1d-3d only! (just have the higher order dims as - * null if you want lower dimensions). - */ -typedef struct pa_node { - /* set if using this node in a partition*/ - bool used; - - /* coordinates */ - int coord[PA_SYSTEM_DIMENSIONS]; - - /* shallow copy of the conf_results. initialized and used as - * array of Lists accessed by dimension, ie conf_result_list[dim] - */ - List* conf_result_list; - -} pa_node_t; - /** creator/destructor fxns */ /** */ diff --git a/src/partition_allocator/partition_allocator.h b/src/partition_allocator/partition_allocator.h index c5c031d7fea..0fc1c154ac7 100644 --- a/src/partition_allocator/partition_allocator.h +++ b/src/partition_allocator/partition_allocator.h @@ -42,6 +42,35 @@ extern bool _initialized; +struct pa_request; +typedef struct pa_request { + int* geometry; + int size; + int conn_type; + bool rotate; + bool elongate; + bool force_contig; +} pa_request_t; + +/** + * pa_node: node within the allocation system. Note that this node is + * hard coded for 1d-3d only! (just have the higher order dims as + * null if you want lower dimensions). + */ +typedef struct pa_node { + /* set if using this node in a partition*/ + bool used; + + /* coordinates */ + int coord[PA_SYSTEM_DIMENSIONS]; + + /* shallow copy of the conf_results. initialized and used as + * array of Lists accessed by dimension, ie conf_result_list[dim] + */ + List* conf_result_list; + +} pa_node_t; + /** * create a partition request. Note that if the geometry is given, * then size is ignored. If elongate is true, the algorithm will try -- GitLab