Skip to content

Refactor opencl_info#15883

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

Refactor opencl_info#15883
opencv-pushbot merged 1 commit intoopencv:3.4from
cbachhuber:refactor-opencl-information

Conversation

@cbachhuber
Copy link
Copy Markdown
Contributor

@cbachhuber cbachhuber commented Nov 10, 2019

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
Copy link
Copy Markdown
Contributor

asmorkalov commented Nov 12, 2019

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

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