__kernel void Foo(
const float3 bar,
__global float3* foobar)
{
foobar[0] = bar;
}
When I input this code into AMD APP KernelAnalyzer and click "Compile" button, KernelAnalyzer crashes (the Application is shut down).
I also tried to build a program with VS2010EE, but access violation occurred at clBuildProgram.
If I replace float3 with float4, this doesn't happend.
How can I solve? Should I use float4?
Solved! Go to Solution.
Thanks for reporting this. I've verified the failure on an internal build, please use float4 as a work around.
Thanks for reporting this. I've verified the failure on an internal build, please use float4 as a work around.
Thank you for replying. I rewrote it like following.
__kernel void Foo(
const float4 bar,
__global float3* foobar)
{
foobar[0] = bar.xyz;
}
When will this bug be fixed? I tried on 2.7 and is still there.
The fix should be in an updated version of the driver that I believe will be released in 2 weeks. If the fix didn't make it into that update, then you'll have to wait for the next driver release which should be around end of august.