I recently built a new system with a desktop A10-7850k, installed OpenSuse 13.2 (64 bit), the Catalyst Driver 15.7 and the AMD-APP-SDK-linux-v2.9-1.599.381-GA-x64.
All OpenCL applications (compiled with gcc 4.8.3 which comes with OpenSuse 13.2) build without errors, but when I try to run them I get a "Segmentation fault" error the moment the first OpenCL function is called, in this case:
clGetPlatformIDs(1, &platforms, &num_platforms);
Is there some environment variable I have to set other than the ones that were automatically set by the SKD install script ?
I am using a 4k monitor and the BIOS has automatically reserved 2GB of system memory for graphics.
Can it be an insufficient memory issue ?
Any suggestions are highly appreciated.