File tree 2 files changed +11
-16
lines changed
2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -2425,21 +2425,6 @@ extern "C" {
2425
2425
2426
2426
GGML_API ggml_type_traits_t ggml_internal_get_type_traits (enum ggml_type type );
2427
2427
2428
- struct ggml_compute_params {
2429
- // ith = thread index, nth = number of threads
2430
- int ith , nth ;
2431
-
2432
- // work buffer for all threads
2433
- size_t wsize ;
2434
- void * wdata ;
2435
-
2436
- struct ggml_compute_state_shared * shared ;
2437
- };
2438
-
2439
- void ggml_compute_forward_rope (
2440
- const struct ggml_compute_params * params ,
2441
- struct ggml_tensor * dst );
2442
-
2443
2428
#ifdef __cplusplus
2444
2429
}
2445
2430
#endif
Original file line number Diff line number Diff line change @@ -1754,8 +1754,18 @@ struct ggml_compute_state {
1754
1754
struct ggml_compute_state_shared * shared;
1755
1755
};
1756
1756
1757
+ struct ggml_compute_params {
1758
+ // ith = thread index, nth = number of threads
1759
+ int ith, nth;
1757
1760
1758
1761
1762
+ // work buffer for all threads
1763
+ size_t wsize;
1764
+ void * wdata;
1765
+
1766
+ struct ggml_compute_state_shared * shared;
1767
+ };
1768
+
1759
1769
//
1760
1770
// fundamental operations
1761
1771
//
@@ -14046,7 +14056,7 @@ static void ggml_compute_forward_rope_f16(
14046
14056
}
14047
14057
}
14048
14058
14049
- void ggml_compute_forward_rope(
14059
+ static void ggml_compute_forward_rope(
14050
14060
const struct ggml_compute_params * params,
14051
14061
struct ggml_tensor * dst) {
14052
14062
You can’t perform that action at this time.
0 commit comments