Skip to content

Commit 2193ab6

Browse files
committed
fix cuda build error
1 parent 67bb367 commit 2193ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-cuda.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2544,7 +2544,7 @@ bool ggml_cuda_is_gpu_offloading(struct ggml_tensor * tensor) {
25442544

25452545
bool ggml_cuda_compute_forward(struct ggml_compute_params * params, struct ggml_tensor * tensor){
25462546
ggml_cuda_func_t func;
2547-
const bool any_on_device = is_gpu_offloading(tensor);
2547+
const bool any_on_device = ggml_cuda_is_gpu_offloading(tensor);
25482548

25492549
switch (tensor->op) {
25502550
case GGML_OP_ADD:

0 commit comments

Comments
 (0)