Skip to content

Commit

Permalink
fix cuda build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mqy committed Jun 18, 2023
1 parent 971c092 commit 5923518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml-cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2544,7 +2544,7 @@ bool ggml_cuda_is_gpu_offloading(struct ggml_tensor * tensor) {

bool ggml_cuda_compute_forward(struct ggml_compute_params * params, struct ggml_tensor * tensor){
ggml_cuda_func_t func;
const bool any_on_device = is_gpu_offloading(tensor);
const bool any_on_device = ggml_cuda_is_gpu_offloading(tensor);

switch (tensor->op) {
case GGML_OP_ADD:
Expand Down

0 comments on commit 5923518

Please sign in to comment.