Skip to content

Commit 5b6913c

Browse files
authored
cuda : remove legacy copy-op pointer indirection code (ggml-org#16485)
* remove legacy copy-op pointer indirection code * further removal of copy-op indirection code * renamed check_node_graph_compatibility_and_refresh_copy_ops function
1 parent bc07349 commit 5b6913c

File tree

4 files changed

+58
-206
lines changed

4 files changed

+58
-206
lines changed

ggml/src/ggml-cuda/common.cuh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -944,13 +944,6 @@ struct ggml_cuda_graph {
944944
bool disable_due_to_failed_graph_capture = false;
945945
int number_consecutive_updates = 0;
946946
std::vector<ggml_graph_node_properties> ggml_graph_properties;
947-
bool use_cpy_indirection = false;
948-
std::vector<char *> cpy_dest_ptrs;
949-
char ** dest_ptrs_d;
950-
int dest_ptrs_size = 0;
951-
// Index to allow each cpy kernel to be aware of it's position within the graph
952-
// relative to other cpy nodes.
953-
int graph_cpynode_index = -1;
954947
#endif
955948
};
956949

0 commit comments

Comments
 (0)