Skip to content

Commit 766112a

Browse files
author
zhouwg
committed
ggml-hexagon: check configuration of enable_rpc_dma_mempool in function ggmlhexagon_check_valid_appcfg
1 parent c0d9a6c commit 766112a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,11 @@ static bool ggmlhexagon_check_valid_appcfg() {
14901490
GGMLHEXAGON_LOG_INFO("rpc ion mempool and rpc dma mempool cannot be enabled at the same time");
14911491
is_valid_appcfg = false;
14921492
}
1493+
1494+
if (1 == g_hexagon_appcfg.enable_rpc_dma_mempool) {
1495+
GGMLHEXAGON_LOG_INFO("rpc dma mempool not supported");
1496+
is_valid_appcfg = false;
1497+
}
14931498
}
14941499

14951500
if (!is_valid_appcfg) {

0 commit comments

Comments
 (0)