Results 1 to 2 of 2

Thread: question about global memory access

  1. #1
    Junior Member
    Join Date
    Aug 2014

    question about global memory access

    I have a question about global memory access.
    I compared two ways to access the global memory.
    One is to let all threads access the same location and the other is to let threads access their own memory.
    I found the former spent less time.
    The former involves memory conflict, why it is faster? Due to cache?

    Many thanks.


  2. #2
    Senior Member
    Join Date
    Dec 2011
    In modern hardware, the case of all work items reading the same location (known as a "broadcast") does not cause a conflict and is therefore not serialized (and so fast).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean