AnsweredAssumed Answered

OpenCL compiler crash with compound literals.

Question asked by Ono-Sendai on Jul 1, 2018
Latest reply on Jul 3, 2018 by dipak

The following code that uses compound literals causes the AMD OpenCL compiler to crash.

 

platform_version: OpenCL 2.0 AMD-APP (1800.8)

platform_name: AMD Accelerated Parallel Processing

device_name: AMD Radeon HD 6700 Series

 

--------------------

typedef struct S

{

float x;

} S;

 

typedef struct B

{

S s;

float f;

} B;

 

__kernel void main_kernel()

{

S s;

B b = (B) { s, 10.f };

}

------------------------------------------------------------------

 

 

EDIT: Maybe my OpenCL drivers are out of date.

We just installed the latest Catalyst drivers, do they not update the AMD OpenCL drivers (e.g. OpenCL dll)?

Outcomes