I download the Binary Search using OpenCL 2.0 SVM(http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/open...) example and unzip it. Then I run "cmake ." and get wrong.
$ cmake .
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
linked by target "SVMBinaryTreeSearch" in directory SVMBinarySearchTree/SVMBinarySearchTree/samples/opencl/cl/SVMBinaryTreeSearch
-- Configuring incomplete, errors occurred!
See also "SVMBinarySearchTree/SVMBinarySearchTree/samples/opencl/cl/SVMBinaryTreeSearch/CMakeFiles/CMakeOutput.log".
I use Ubuntu14.04, I notice that in CMakeList.txt, it writes "../../../../lib/ ", but that dir only contains the win64/OpenCL.lib file. How should I change the cmake files so that I can compile it?
There is a /usr/lib/libOpenCL.so.1.
Thanks for reporting this.
There are two mode of Catalyst installation: 1) Install Driver <Os version> on X.org 6.9 or later and 2) Generate Distribution Specific Driver Package (Default). I guess, you've tried with option 2. During Catalyst installation, please select the other mode of installation and then try to build and run the samples. If still face the same problem, please let us know.
I have a similar problem: I can install the driver on Ubuntu 12.04 and 14.04 but I get no OpenCL 2.0 support (I've tested a R9 280x and R9 290). clinfo returns
for both GPU devices. The examples don't run because OpenCL 2.0 is not supported and compiling old OpenCL kernels with -cl-std=CL2.0 yields "Error: aclBinary init failure". Otherwise OpenCL 1.2 kernels compile and run without issues.
Thanks for reporting this. As per the README doc, Ubuntu 14.04 is recommended one.
I get no OpenCL 2.0 support (I've tested a R9 280x and R9 290). clinfo returns
We'll check it and get back to you.
I found the problem: The R9 280X has no OpenCL 2.0 support. Please fix at least the information on the website. Furthermore, I only tested the R9 280X as single card and when I tried the R9 290, the R9 280X was still plugged in.
Mine is fine. I use APU A10-7850
|Vendor:||Advanced Micro Devices, Inc.|
|Device OpenCL C version:||OpenCL C 2.0|
|Driver version:||1598.5 (VM)|
|Version:||OpenCL 2.0 AMD-APP (1598.5)|