I came across a bug in the AMD APP Kernel Analyzer 1.11.1172 the other day:
When you have an float3 argument in your kernel parameter list,
and try to assign any component of it into a local memory variable,
the AMD APP Kernel Analyzer crashes, although the runtime compilation
with the AMD Runtime works just fine. I attached the code which causes
the crash.
I would be glad if someone look into this matter.
Regards,
__kernel void k (float3 /* works with float, float2, float4 */ s) { __local float m; m = s.x; }
I am able to reproduce the crash using Catalyst 11.12 and AMD APP SDK V2.6 with out KernelAnalyzer.
I am uncertain why you did not see the bug without KernelAnalyzer; perhaps your runtime is different.
I have notified the compiler team with an appropriate report.
Thanks for your report.
R.