Skip to content

Refactor opencl_info - #15883

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
cbachhuber:refactor-opencl-information
Nov 12, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
cbachhuber:refactor-opencl-information

Conversation

@cbachhuber

@cbachhuber cbachhuber commented Nov 10, 2019 •

Copy link
Copy Markdown
Contributor

This pullrequest refactors parts of opencl information dumping:

  • Remove code duplication
  • Clarify functionality of ternary operator
  • Use cv's String instead of char * for strings
  • Remove unused code
force_builders=Custom,Linux AVX2,Linux OpenCL
build_image:Custom=ubuntu:18.04
buildworker:Custom=linux-5
test_opencl:Custom=ON

build_image:Linux AVX2=ubuntu:18.04
buildworker:Linux AVX2=linux-3
test_opencl:Linux AVX2=ON

@asmorkalov

Copy link
Copy Markdown
Contributor

@i-murzov Please take a look.

@asmorkalov

asmorkalov commented Nov 12, 2019 •

Copy link
Copy Markdown
Contributor

LGTM 👍 @cbachhuber please squash commits.

Implement GArik's comments

Remove unnecessary c_str()

Fix brace position
@cbachhuber
cbachhuber force-pushed the refactor-opencl-information branch from b9f62b5 to c638f08 Compare November 12, 2019 18:25
@cbachhuber

Copy link
Copy Markdown
Contributor Author

Thank you for the reviews, squashed commits

@opencv-pushbot
opencv-pushbot merged commit c638f08 into opencv:3.4 Nov 12, 2019
@alalek alalek mentioned this pull request Nov 17, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
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.

5 participants