We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc001b9 commit c749b86Copy full SHA for c749b86
ggml/src/ggml-hexagon/ggml-hexagon.cpp
@@ -3054,8 +3054,9 @@ static const char * ggml_backend_hexagon_name(ggml_backend_t backend) {
3054
}
3055
3056
static void ggml_backend_hexagon_free(ggml_backend_t backend) {
3057
- auto sess = static_cast<ggml_hexagon_session *>(backend->context);
3058
- GGML_UNUSED(sess);
+ // we just need to delete the backend here
+ // the sessions are allocated & freed as part of the registry
3059
+ delete backend;
3060
3061
3062
static inline bool op_reuse_src1(const ggml_tensor * op1, const ggml_tensor * op0) {
0 commit comments