Skip to content

Commit 6d2d0bd

Browse files
hexagon: remove unused logic for setting tensor flags for the views
1 parent 08a97e6 commit 6d2d0bd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ggml/src/ggml-hexagon/ggml-hexagon.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,7 @@ static enum ggml_status ggml_backend_hexagon_buffer_init_tensor(ggml_backend_buf
405405
(int) ctx->repack);
406406

407407
if (tensor->view_src != NULL && tensor->view_offs == 0) {
408-
// Just a view, reuse the same extra info
409-
tensor->flags = tensor->view_src->flags;
410-
tensor->extra = tensor->view_src->extra;
408+
; // nothing to do for the view
411409
} else {
412410
if (!ctx->mapped) {
413411
ctx->mmap();

0 commit comments

Comments
 (0)