tobias

OpenCL Compiler Segmentation fault

Discussion created by tobias on Apr 4, 2016
Latest reply on May 10, 2016 by dipak

The OpenCL kernel below leads to a segmentation fault in libamdocl64.so when compiling (using Linux, APPSDK-3.0)

void b(void (^f)(void))
{
  f();
}

void a(void (^f)(void))
{
  b( ^{ f(); } );
}


kernel
void crash()
{
  a( ^{  } );
}

I'm guessing this would be allowed in OpenCL 2? (removing the nested block compiles successfully)

 

edit: add system info in attachment

Attachments

Outcomes