From: Trivikram Reddy Date: Sun, 26 Apr 2026 00:58:26 +0000 (-0500) Subject: hexagon: guard HMX clock request for v75+ platforms (llama/22377) X-Git-Tag: upstream/1.9.2~526 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=1be2adf7b3df28f450a60822ad3952316aaa6644;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp hexagon: guard HMX clock request for v75+ platforms (llama/22377) --- diff --git a/ggml/src/ggml-hexagon/htp/main.c b/ggml/src/ggml-hexagon/htp/main.c index 62942f63..f5834730 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; }