This content has been marked as final. Show 2 replies
I try to use OpenCL spir with amd drivers. I compiled my kernel successful to spir (with clang 3.2 & khronos spir changes). Loading the program with clCreateProgramWithBinary shows no error. Compiling with clCompileProgram and options "-x spir -spir-std=1.2" is also fine. When I than call clLinkProgram without the option "-create-library" the program segfaults inside clLinkProgram.
Operating system is 64 bit Ubuntu 14.04, amd driver is 14.4, hardware is an amd apu 7850K