AnsweredAssumed Answered

Segfault when linking

Question asked by xerafax on Aug 4, 2014
Latest reply on Aug 14, 2014 by dipak

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