hexagon: fix CPY fence bug (#28033)
This commit is contained in:
@@ -330,7 +330,7 @@ int op_cpy(struct htp_ops_context * octx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const struct htp_tensor *sync = octx->src[1];
|
const struct htp_tensor *sync = octx->src[1];
|
||||||
if (sync) {
|
if (sync && (sync->flags & HTP_TENSOR_FENCE)) {
|
||||||
if (!use_dma) {
|
if (!use_dma) {
|
||||||
// htp_tensor_flush_all(octx->ctx, octx->dsts, 1);
|
// 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);
|
qurt_mem_cache_clean((qurt_addr_t) 0, 0, QURT_MEM_CACHE_FLUSH_INVALIDATE_ALL, QURT_MEM_DCACHE);
|
||||||
|
|||||||
Reference in New Issue
Block a user