ROCm / ROCm-OpenCL-Driver

ROCm OpenCL Compiler Tool Driver
MIT License
24 stars 9 forks source link

[in-process] Fix error handling. #15

Closed kzhuravl closed 7 years ago

kzhuravl commented 7 years ago

This patch fixes an internal OpenCL test.

kzhuravl commented 7 years ago

*During in-process linking.

rampitec commented 7 years ago

Does it work if FE in-process is turned back on (for example with AMD_OCL_IN_PROCESS)? It may conflict with the diagnostic printer already created for clang.

kzhuravl commented 7 years ago

Does it work if FE in-process is turned back on (for example with AMD_OCL_IN_PROCESS)?

Yes.

It may conflict with the diagnostic printer already created for clang.

I do not see how. The diagnostic handler is attached to the context that is created by the driver specifically for linking.