AnsweredAssumed Answered

AMD dropped SPIR support

Question asked by ipse on Sep 4, 2018
Latest reply on Sep 9, 2019 by Micha_M

From adrenalin 18.7.1 to 18.8.2 clBuildProgram exited with CL_BUILD_PROGRAM_FAILURE while trying to buld binary from SPIR source with options "-x spir -spir-std=1.2".

clGetProgramBuildInfo return error description:

Error: HSAIL doesn't support OpenCL extension spir.

An invalid option was specified.

Error: BRIG code generation failed.

 

At the same time clGetDeviceInfo with CL_DEVICE_EXTENSIONS says that cl_khr_spir is supported extension on my R7 360.

I'm confused, does AMD dropped support for SPIR, or this is just a bug? Anyone know something about this?

Outcomes