File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2542,7 +2542,7 @@ bool ggml_cuda_is_gpu_offloading(struct ggml_tensor * tensor) {
2542
2542
|| (tensor->src1 != nullptr && tensor->src1 ->backend == GGML_BACKEND_GPU);
2543
2543
}
2544
2544
2545
- bool ggml_cuda_compute_forward (struct ggml_compute_params * params, struct ggml_tensor * tensor){
2545
+ bool ggml_cuda_compute_forward (const struct ggml_compute_params * params, struct ggml_tensor * tensor){
2546
2546
ggml_cuda_func_t func;
2547
2547
const bool any_on_device = ggml_cuda_is_gpu_offloading (tensor);
2548
2548
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ void ggml_cuda_assign_buffers_no_scratch(struct ggml_tensor * tensor);
32
32
void ggml_cuda_set_main_device (int main_device );
33
33
void ggml_cuda_set_scratch_size (size_t scratch_size );
34
34
void ggml_cuda_free_scratch (void );
35
- bool ggml_cuda_compute_forward (struct ggml_compute_params * params , struct ggml_tensor * tensor );
35
+ bool ggml_cuda_compute_forward (const struct ggml_compute_params * params , struct ggml_tensor * tensor );
36
36
37
37
#ifdef __cplusplus
38
38
}
You can’t perform that action at this time.
0 commit comments