Skip to content
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

[libtapasco] Limit printing buffer contents in debug trace #337

Open
tsmk94 opened this issue Jan 4, 2023 · 0 comments
Open

[libtapasco] Limit printing buffer contents in debug trace #337

tsmk94 opened this issue Jan 4, 2023 · 0 comments

Comments

@tsmk94
Copy link
Contributor

tsmk94 commented Jan 4, 2023

When running software with RUST_LOG=trace the content of every buffer copied to/from device memory is printed byte-wise multiple times. Thus, the debug trace is quite useless as soon as buffer sizes get bit larger than some kilobytes.

In my oppinion it would be sufficient and make much more sense to only print the first couple elements (e.g. 100) bytes of the buffer to be copied to device memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant