Skip to content

more convenient GpuMatND constructor#26472

Merged
asmorkalov merged 4 commits intoopencv:4.xfrom
chacha21:gpumatnd_step
Dec 17, 2024
Merged

more convenient GpuMatND constructor#26472
asmorkalov merged 4 commits intoopencv:4.xfrom
chacha21:gpumatnd_step

Conversation

@chacha21
Copy link
Copy Markdown
Contributor

@chacha21 chacha21 commented Nov 16, 2024

Closes #26471

For convenience, GpuMatND can now accept a step.size() equal to size.size(), as long as the last step is equal to elemSize()

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

For convenience, GpuMatND can now accept a step.size() equal to size.size(), as long as the last step is equal to elemSize()
@asmorkalov asmorkalov self-assigned this Dec 16, 2024
@asmorkalov asmorkalov merged commit d77abed into opencv:4.x Dec 17, 2024
@asmorkalov asmorkalov mentioned this pull request Jan 15, 2025
shyama7004 pushed a commit to shyama7004/opencv that referenced this pull request Jan 20, 2025
More convenient GpuMatND constructor opencv#26472

Closes opencv#26471

For convenience, GpuMatND can now accept a step.size() equal to size.size(), as long as the last step is equal to elemSize()

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [X] The PR is proposed to the proper branch
- [X] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
NanQin555 pushed a commit to NanQin555/opencv that referenced this pull request Feb 24, 2025
More convenient GpuMatND constructor opencv#26472

Closes opencv#26471

For convenience, GpuMatND can now accept a step.size() equal to size.size(), as long as the last step is equal to elemSize()

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [X] The PR is proposed to the proper branch
- [X] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GpuMatND construction requires step.size() == size().size-1

2 participants