Skip to content

Commit

Permalink
clean code for dspaces_cuda_get
Browse files Browse the repository at this point in the history
  • Loading branch information
bozhang-hpc committed May 21, 2024
1 parent 89a5bf8 commit 3263ead
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 168 deletions.
3 changes: 0 additions & 3 deletions include/gspace.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ struct ds_gspace {
/* Pending object descriptors for draining. */
struct list_head obj_desc_drain_list;

/* Pending requests for dual channel put. */
struct list_head dc_req_list;

int rank;
int size_sp;
char **server_address;
Expand Down
13 changes: 0 additions & 13 deletions include/ss_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@ struct obj_data {
unsigned int f_free : 1;
};

struct dc_request {
struct list_head entry;
struct obj_data* od;
/* margo request for bulk_itransfer(); 0 - gdr; 1 - host */
margo_request * margo_req;
hg_bulk_t* bulk_handle;
int f_error;
};

/*
A view in the matrix allows to extract any subset of values from a
matrix.
Expand Down Expand Up @@ -520,8 +511,4 @@ struct lock_data *create_lock(struct list_head *list, char *name);

char **addr_str_buf_to_list(char *buf, int num_addrs);

struct dc_request *dc_req_alloc(struct obj_data *od);
struct dc_request *dc_req_find(struct list_head *dc_req_list, obj_descriptor *odsc);
void dc_req_free(struct dc_request *dc_req);

#endif /* __SS_DATA_H_ */
Loading

0 comments on commit 3263ead

Please sign in to comment.