Search:

Type: Posts; User: Elias

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,812

    Re: Atomic compare and swap

    Yes it could be done that way, but I need to prevent any workitem to interfer in an other workitem's instructions (would cause data inconsistency).

    That's really weird...
  2. Replies
    7
    Views
    3,812

    Re: Atomic compare and swap

    Yep, atomics operations are enabled (I tripled checked)


    I've added the barrier, no change though, still cant manage to swap the values.
    I tried with privates variables instead, so that no...
  3. Replies
    7
    Views
    3,812

    Re: Atomic compare and swap

    Er... well yes, indeed it was missing. It does not help though (I've added the return code check, just in case...).
    As I was saying, it is not my code, I was just looking for a minimal example to...
  4. Replies
    7
    Views
    3,812

    Atomic compare and swap

    Hi everyone,

    I'm trying to use the atom_cmpxchg (OpenCL version is 1.0, GPU is NVIDIA 9600M GT) function, but I cant manage to get the expected result: the swap dont happen.

    I tried to find a...
Results 1 to 4 of 4