Skip to content

core(OpenCL): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR#15579

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:ocl_use_host_mem_ptr_flag
Sep 25, 2019
Merged

core(OpenCL): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR#15579
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:ocl_use_host_mem_ptr_flag

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Sep 24, 2019

to control CL_MEM_USE_HOST_PTR usage

work around for #6293 #15574

@mshabunin
Copy link
Copy Markdown
Contributor

mshabunin commented Sep 25, 2019

Perhaps we should add a message mentioning new environment variables to CV_Assert(u->origdata == data); in deallocate_ method. Something like: "Try to set OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR=0"

@opencv-pushbot opencv-pushbot merged commit eacadf0 into opencv:3.4 Sep 25, 2019
@alalek alalek mentioned this pull request Sep 25, 2019
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.

3 participants