Results 1 to 2 of 2

Thread: 128- bit integer atomics Support?

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    15

    128- bit integer atomics Support?

    I need that very mutch for a hash table!

  2. #2

    Re: 128- bit integer atomics Support?

    You could try implementing your own atomic operations using atom_cmpxchg. For each 128-bit variable, you would need a 32-bit flag variable that indicates whether the variable is locked by a thread.

    You could use atom_cmpxchg to test the flag variable and set it to the locked state if no other thread has locked it already.

Similar Threads

  1. 128-bit data type support
    By audiophile128 in forum OpenCL
    Replies: 0
    Last Post: 08-27-2012, 12:12 PM
  2. 16 bit integer Atomics
    By thesmileman in forum Suggestions for next release
    Replies: 5
    Last Post: 12-15-2011, 03: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
  •