From 0eb8e3bd1af36f6bbb0fc144c0cfb13be54a3e18 Mon Sep 17 00:00:00 2001 From: Trivikram Reddy Date: Sat, 25 Apr 2026 06:33:56 -0700 Subject: [PATCH] hexagon: guard HMX clock request for v75+ platforms --- ggml/src/ggml-hexagon/htp/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ggml/src/ggml-hexagon/htp/main.c b/ggml/src/ggml-hexagon/htp/main.c index 62942f6384ca..f58347304bee 100644 --- a/ggml/src/ggml-hexagon/htp/main.c +++ b/ggml/src/ggml-hexagon/htp/main.c @@ -101,6 +101,7 @@ AEEResult htp_iface_open(const char * uri, remote_handle64 * handle) { } } +#if __HVX_ARCH__ >= 75 { // Set HMX clock HAP_power_request_t request; @@ -118,6 +119,7 @@ AEEResult htp_iface_open(const char * uri, remote_handle64 * handle) { return err; } } +#endif return AEE_SUCCESS; }