mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-10 05:00:14 +02:00
ggml: fix ggml_graph_cpy undefined behavior (ggml/943)
This commit is contained in:
committed by
Georgi Gerganov
parent
e8f0f9b5f0
commit
6eb7a0ffbd
@ -651,8 +651,8 @@ extern "C" {
|
||||
|
||||
struct ggml_hash_set {
|
||||
size_t size;
|
||||
ggml_bitset_t * used;
|
||||
struct ggml_tensor ** keys;
|
||||
ggml_bitset_t * used; // whether or not the keys are in use i.e. set
|
||||
struct ggml_tensor ** keys; // actual tensors in the set, keys[i] is only defined if ggml_bitset_get(used, i)
|
||||
};
|
||||
|
||||
// computation graph
|
||||
|
Reference in New Issue
Block a user