hexagon: fix CPY fence bug (llama/28033)

This commit is contained in:
Shenghan Yang
2026-09-04 13:39:35 +03:00
committed by Georgi Gerganov
parent e5c96ca45d
commit 01ebd225a7
+1 -1
View File
@@ -330,7 +330,7 @@ int op_cpy(struct htp_ops_context * octx) {
}
const struct htp_tensor *sync = octx->src[1];
if (sync) {
if (sync && (sync->flags & HTP_TENSOR_FENCE)) {
if (!use_dma) {
// htp_tensor_flush_all(octx->ctx, octx->dsts, 1);
qurt_mem_cache_clean((qurt_addr_t) 0, 0, QURT_MEM_CACHE_FLUSH_INVALIDATE_ALL, QURT_MEM_DCACHE);