Results 1 to 2 of 2

Thread: Failed to build

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Posts
    10

    Failed to build

    Hi All!

    I get the following error while compiling my CL file:

    ERROR: Error: Cannot yet select: 0x858aae0: i64,flag = adde 0x858a8e0, 0x8581eb0, 0x858a9e0:1 [ID=53]

    Any idea whats causing this?

    Here is my code:
    http://grid.kfki.hu/afs/szaqaei/web/szimbolikus/error/

    thanks in advance,
    Adam

  2. #2
    Senior Member
    Join Date
    Aug 2011
    Posts
    271

    Re: Failed to build

    'k' is never set to anything in prog1. The compiler error is probably because of that.

    But I gotta say, your iszero() function is awesome in it's badness

    ... try (all(u == 0)) instead. See section 6.12.6 of the specification for other possible functions.

    You can also do ulong16 fpres = 0 to set every element to 0, you don't need to set them individually.

    The code itself is questionable anyway - e.g. every work item is working on the same global index. The point of global indices is that they should identify unique data so the work items do not conflict.

Similar Threads

  1. Replies: 1
    Last Post: 12-21-2012, 11:19 AM
  2. Failed to build CL program on Radeon 4670
    By Manticore in forum OpenCL
    Replies: 0
    Last Post: 09-14-2010, 10:22 PM

Posting Permissions

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