You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There seems to be an error in the error handling logic of the ggml_backend_graph_compute function. The function returns a status code of 0 when it executes successfully. However, the current logic treats a successful execution as an error due to the use of the logical NOT operator (!).
To Reproduce
Here is the problematic code snippet:
Describe the bug
There seems to be an error in the error handling logic of the
ggml_backend_graph_compute
function. The function returns a status code of 0 when it executes successfully. However, the current logic treats a successful execution as an error due to the use of the logical NOT operator (!
).To Reproduce
Here is the problematic code snippet:
Expected behavior The if condition should not be negated. The correct code should be:
The text was updated successfully, but these errors were encountered: