Skip to content

core(OpenCL): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR - #15579

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

opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:ocl_use_host_mem_ptr_flag

Conversation

@alalek

@alalek alalek commented Sep 24, 2019

Copy link
Copy Markdown
Member

to control CL_MEM_USE_HOST_PTR usage

work around for #6293 #15574

@mshabunin

mshabunin commented Sep 25, 2019 •

Copy link
Copy Markdown
Contributor

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
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.

3 participants