Results 1 to 3 of 3

Thread: Error:E010:Irreducible ControlFlow Detected

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    5

    Error:E010:Irreducible ControlFlow Detected

    Is there any listing of what the various compile errors mean? Most are pretty self-explanatory, but I have no idea what:

    Error:E010:Irreducible ControlFlow Detected

    Means, it is not flagging any line in particular. I only get this error from AMD. NVidia seems fine. I am getting this in the Stream KernelAnalyzer.

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Error:E010:Irreducible ControlFlow Detected

    That means you have some goto jumping into the middle of a loop. OpenCL compilers are not required to support this kind of unstructured code. Even on compiler that support it, it may hurt performance quite a bit.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  3. #3
    Junior Member
    Join Date
    May 2010
    Posts
    3

    Re: Error:E010:Irreducible ControlFlow Detected

    Hi!!!!
    I got same problem when I did:
    for(;
    {
    ....
    if (flagOk) break;
    ...
    }

    but with...

    for(uint i=0;i<16;i++) // only to mark limits (that will never be used or reached)
    {
    ....
    if (flagOk) break;
    ...
    }

    NO ERROR!!!

Similar Threads

  1. Replies: 6
    Last Post: 12-10-2010, 07:15 PM
  2. fatal error C1189: #error : ERROR: Use of C runtime library
    By gjermani in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 09-24-2007, 03:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •