mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-01-26 09:09:50 +00:00
Change graph key
This commit is contained in:
@@ -3664,7 +3664,7 @@ GGML_CALL static void ggml_backend_cuda_synchronize(ggml_backend_t backend) {
|
||||
#ifdef USE_CUDA_GRAPH
|
||||
|
||||
static inline const void * ggml_cuda_graph_get_key(ggml_cgraph * cgraph) {
|
||||
return cgraph->nodes[0]->data;
|
||||
return cgraph->nodes[0];
|
||||
}
|
||||
|
||||
static inline ggml_cuda_graph * ggml_cuda_get_graph(ggml_backend_cuda_context & ctx, const void * key) {
|
||||
|
||||
Reference in New Issue
Block a user