Skip to content

Commit

Permalink
CANN: adjust backend registry refactor. (#10158)
Browse files Browse the repository at this point in the history
remove buffer->iface.get_name that used in cann as it was removed in backend registry refactor PR.
  • Loading branch information
leo-pony authored Nov 4, 2024
1 parent ce027ad commit 329ed91
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ggml/src/ggml-cann.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,6 @@ static ggml_backend_buffer_t ggml_backend_cann_host_buffer_type_alloc_buffer(ggm

ggml_backend_buffer_t buffer = ggml_backend_cpu_buffer_from_ptr(hostPtr, size);
buffer->buft = buft;
buffer->iface.get_name = ggml_backend_cann_host_buffer_name;
buffer->iface.free_buffer = ggml_backend_cann_host_buffer_free;

return buffer;
Expand Down

0 comments on commit 329ed91

Please sign in to comment.