AnsweredAssumed Answered

float3 crashes compiler

Question asked by aokomoriuta on Feb 29, 2012
Latest reply on Jul 16, 2012 by MicahVillmow
__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

Outcomes