Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3216412
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:17:29+00:00 2026-05-17T15:17:29+00:00

One thing I haven’t figured out and google isn’t helping me, is why is

  • 0

One thing I haven’t figured out and google isn’t helping me, is why is it possible to have bank conflicts with shared memory, but not in global memory? Can there be bank conflicts with registers?

UPDATE
Wow I really appreciate the two answers from Tibbit and Grizzly. It seems that I can only give a green check mark to one answer though. I am newish to stack overflow. I guess I have to pick one answer as the best. Can I do something to say thank you to the answer I don’t give a green check to?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:17:29+00:00Added an answer on May 17, 2026 at 3:17 pm

    Short Answer: There are no bank conflicts in either global memory or in registers.

    Explanation:

    The key to understanding why is to grasp the granularity of the operations. A single thread does not access the global memory. Global memory accesses are “coalesced”. Since global memory is soo slow, any access by the threads within a block are grouped together to make as few requests to the global memory as possible.

    Shared memory can be accessed by threads simultaneously. When two threads attempt to access an address within the same bank, this causes a bank conflict.

    Registers cannot be accessed by any thread except the one to which it is allocated. Since you can’t read or write to my registers, you can’t block me from accessing them — hence, there aren’t any bank conflicts.

    Who can read & write to global memory?

    Only blocks. A single thread can make an access, but the transaction will be processed at the block level (actually the warp / half warp level, but I’m trying not be complicated). If two blocks access the same memory, I don’t believe it will take longer and it may happen accelerated by the L1 cache in the newest devices — though this isn’t transparently evident.

    Who can read & write to shared memory?

    Any thread within a given block. If you only have 1 thread per block you can’t have a bank conflict, but you won’t have reasonable performance. Bank conflicts occur because a block is allocated with several, say 512 threads and they’re all vying for different addresses within the same bank (not quite the same address). There are some excellent pictures of these conflicts at the end of the CUDA C Programming Guide — Figure G2, on page 167 (actually page 177 of the pdf). Link to version 3.2

    Who can read & write to registers?

    Only the specific thread to which it is allocated. Hence only one thread is accessing it at one time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

One thing i haven't been able to figure out(only 4 months of experience in
This is one thing I haven't been able to do with Cake. I have
One thing I have noticed a lot of back and forth on is where
One thing I have continually found very confusing about using an object database like
I am using below URL to show line chart but one thing I have
One thing with which I have long had problems, within the CakePHP framework, is
Can somebody explain me one thing. I have two methods in my controller :
I'm stuck on one thing i can't get solved. I have part of code,
I have been thinking about a neat way of load balancing and one thing
I have been working with SQL Server as a Developer a while. One thing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.