-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unknown buffer size limitation for CRC operation #36
Comments
Hi @bartlomiejgrzeskowiak, |
|
hi @bartlomiejgrzeskowiak, Let me try to reproduce on my side and I'll get back to you. |
Hi @mzhukova , You're totally right. I was executing HW PATH. Please let me know if you're able to reproduce the issue., BR |
Hey @bartlomiejgrzeskowiak , 16 MB is too large to be allocated on the stack. If you wanted to use a 16MB example, you would need to use Simple godbolt example for large allocation: https://godbolt.org/z/Ts9xndqcq |
Hey @bartlomiejgrzeskowiak , it seems that your workqueue's max_transfer_size is 2 MB (2097152 bytes), which would explain the 4 MB example issue |
Hi @abdelrahim-hentabli , Ok, but:
|
|
What is the acceptable input buffer size for CRC operation ?
I play with different sizes of CRC buffer.
DML Lib does accept different sizes, but it behaves with error or even segmentation fault in some cases.
Example execution:
How to reproduce (diff -> apply and compile example) :
The text was updated successfully, but these errors were encountered: