cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

aokomoriuta
Journeyman III

float3 crashes compiler

__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?

  • Windows7 x64 pro SP1
  • Radeon HD 6950 (8.930.0.0)
  • KennelAnalyzer ver 1.11.1172
0 Likes
1 Solution

Thanks for reporting this. I've verified the failure on an internal build, please use float4 as a work around.

View solution in original post

0 Likes
4 Replies

Thanks for reporting this. I've verified the failure on an internal build, please use float4 as a work around.

0 Likes

Thank you for replying. I rewrote it like following.

__kernel void Foo(

    const float4 bar,

    __global float3* foobar)

{

    foobar[0] = bar.xyz;

}

0 Likes

When will this bug be fixed? I tried on 2.7 and is still there.

0 Likes

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.

0 Likes