OpenCL library detection on Linux with Nvidia implementation (Patch #2261)


Added by Jukka Holappa over 12 years ago. Updated over 12 years ago.


Status:Done Start date:2012-08-11
Priority:Normal Due date:
Assignee:yao wang % Done:

0%

Category:build/install
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

On my Gentoo Linux system, Nvidia's OpenCL was not detected correctly.

The problem seems to be caused by detection code that limits the library search path to OPENCL_LIB_SEARCH_PATH even when it has not been defined. Detection started working when I simply allowed the default library paths to be searched. The attached patch is against the latest development version 9c75ff43ba402c933bc3e7b8d82a3d49d68bf3b1.


opencl-detection-fix.patch - Patch to use default library paths when no paths are specified (586 Bytes) Jukka Holappa, 2012-08-12 12:14 am


Associated revisions

Revision f53d94c6
Added by Vadim Pisarevsky over 12 years ago

fixed OpenCL detection in Linux (patch #2261)

Revision cd1ffd16
Added by Roman Donchenko about 11 years ago

Merge pull request #2261 from jet47:stitching-cuda-android

History

Updated by Evgeny Talanin over 12 years ago

  • Assignee set to Andrey Kamaev
  • Category set to build/install

Updated by Andrey Kamaev over 12 years ago

  • Target version set to 3.0
  • Description changed from On my Gentoo Linux system, Nvidia's OpenCL was not detected correctly. T... to On my Gentoo Linux system, Nvidia's OpenCL was not detected correctly. T... More
  • Assignee changed from Andrey Kamaev to yao wang

Updated by Vadim Pisarevsky over 12 years ago

thanks! the patch was applied in f53d94

  • Target version changed from 3.0 to 2.4.3
  • Status changed from Open to Done

Also available in: Atom PDF