-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix dest ROI #104
base: master
Are you sure you want to change the base?
Fix dest ROI #104
Conversation
Hi, thanks for reporting and fixing! Apparently, Nvidia then changed the API from the pre-release to the release version of Cuda 6 so that one had to provide the pointer to the first ROI-pixel and not the pixel (0,0) (these days also stated in the docs). As it seems this was wrong in managedCuda for now 6 years and I was never aware of that change :( But, these I'll have to investigate more on that to make sure to get it right this time ;) Cheers, |
Ok, I did more testing and found my logical error: The My solution so far is something like this, with an additional optional parameter for the second ROI:
For reducing filtering to the actual ROI and disallow any read from outside pixels, |
The oSizeROI needs to be the size of the dest image,