-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offset filed of buffer dose not work #9
Comments
Ah, yes that |
Thank you for your reply. Now I understand the meaning of offset filed. Do you have any suggestions If I want to add the feature I mentioned above? |
I've just pushed a change that should add solver support for fixed offsets. Would you mind giving it a try? |
That's great! I‘d like to ! |
Thanks for your work. I've tried this fix in our project and it works. However, we found that for some cases, minimalloc can not found a solution within the required time (which is 30s for 200 buffers), but when we use first-fit method for memory allocation, we will get right solution in very short time. Seems that the |
There's one more change I ought to make for the "fixed offset" feature to be fully performant -- I'll let you know once it's checked in, might take me a couple days. |
Just added one more check that should allow for earlier termination -- let me know if this fixes the issue (if not, I can try a few more things). |
Hi,
This is excellent work! We try to use it to solve some memory allocation problems. We found that when we set a value to the offset filed of a buffer (which will be regard as a fixed position buffer according to the annotation), the solver will re-allocate this buffer instead of using the offet we provided.
Did I use it wrong? Or is this still a todo feature?
The text was updated successfully, but these errors were encountered: