Various maintenance for tiling and opencl#21075
Merged
TurboGit merged 3 commits intoMay 20, 2026
Merged
Conversation
Collaborator
Author
|
@TurboGit still checking
BTW, Could we add a |
a648af3 to
fedbc45
Compare
Collaborator
Author
|
@TurboGit TIA i just added a third bug-fixing-commit. That's about fixing overestimations of tiling requirements when blending is involved! |
1. Various functions are just internal helpers not used outside of the source scope and thus should not be exposed. dt_opencl_read_host_from_device_rowpitch() dt_opencl_write_host_to_device_rowpitch() 2. Some correct use of #defines and constify
1. dt_print_pipe() got a minor improvement, it now shows a leading `T` in the pipe name if in tiling mode. 2. use dt_print_pipe() variant where automatic display of roi is helping 3. overlap added to logs where helping 4. some logs are shown only in -d verbose mode 5. some logs are also relevant for -d pipe logs 6. added log for skipped tiles in ptp mode 7. added module instance in control logs 8. For extensive debug logs we now have compile time option DT_TILING_DEBUG 9. some constify, subtle simplifications and use of float where intended
If we blend a piece output there are additional requirements for memory to be checked. Some calculations lead to higher results than necessary if no feathering was involved.
b8f2872 to
8bb62f1
Compare
TurboGit
reviewed
May 20, 2026
Member
I have created an issue for this and assigned it to me. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A bit of OpenCL maintenance
dt_opencl_read_host_from_device_rowpitch()dt_opencl_write_host_to_device_rowpitch()Improved tiling related logs
dt_print_pipe()got a minor improvement, it now shows a leadingTin the pipe name if in tiling mode.dt_print_pipe()variant where automatic display of roi is helping-d verbosemode-d pipelogsDT_TILING_DEBUG