Hi, I tried to compile with using CodeXLAnalyzer simple OpenCL code using OpenCL 2.0 standard for an OpenCL2.0 compliant device (for example Hawaii). I have only Radeon HD 7850 (OpenCL 1.2 compliant device) and that program returns following error after failed compilation:
AMD Catalyst detected, version 14.501.1003
Compiling device: Tonga... ...Failed!
OpenCL Compile Error: clBuildProgram failed (CL_BUILD_PROGRAM_FAILURE).
An invalid option was specified.
I ran CodeXLAnalyzer with options:
./CodeXLAnalyzer --bin localtest1 --OpenCLoption="-cl-std=CL2.0" -c Hawaii localtest1.cl
localtest1.cl is sample OpenCL 1.2 code (can be build on OpenCL 1.2 devices).
My platform is: OpenSUSE Linux (64-bit), Amd drivers: 14.12 (omega).
I guess that is problem with AMD Catalyst drivers. I will be happy, if this problem will be resolved in near future.
Solved! Go to Solution.
Thank you for answer. I am still using CodeXL 1.6. But, Can the AMD Catalyst 14.12 build an OpenCL 2.0 kernels for an offline devices (ofcourse when only OpenCL1.2 device available and with using context with CL_CONTEXT_OFFLINE_DEVICES_AMD)?