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 8878841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:48:36+00:00 2026-06-14T19:48:36+00:00

I read out few good articles on shared memory; but I have initial question

  • 0

I read out few good articles on shared memory; but I have initial question with respect to bank conflicts
It is said that if thread 1 and thread 2 accesses word 0 from bank 0 then there is no bank conflict
but if they access different words then there will be bank conflict; but my question is how different words can reside in a single bank?
As bank 0 size is 32 bits and word size is 32 bits; there can be utmost 1 word/bank.

  • 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-06-14T19:48:37+00:00Added an answer on June 14, 2026 at 7:48 pm

    With a GPU of compute capability 2.* or 3.*, there are 32 shared memory banks; but you might well have more than 32 words (= 128B) of data in shared memory. Each bank b is responsible for all the data in addresses (say) A % nbanks == b:

            +--------+---------+---------+-
    Bank 0  | word 0 | word 32 | word 64 |...
            +--------+---------+---------+-
    Bank 1  | word 1 | word 33 | word 65 |...
            +--------+---------+---------+-
    Bank 2  | word 2 | word 34 | word 66 |...
            +--------+---------+---------+-
     ...    |  ..... |         |         |
            +--------+---------+---------+-
    Bank 30 | word 30| word 62 | word 94 |...
            +--------+---------+---------+-
    Bank 31 | word 31| word 63 | word 95 |...
            +--------+---------+---------+-
    

    If everyone is accessing word 0, there is “broadcast” functionality for that; but if thread 0 is accessing word 0, thread 1 is accessing word 32, etc, then those accesses will be serialized.

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

Sidebar

Related Questions

I have read a few good articles about coding a socket server but thought
I try to read out all existing calendars. I want have a HashMap with
I'm trying to have Screenreaders (I'm testing with NVDA) read out the AutomationProperties.Name and
I have an array of Paths which i want to read out with Template
I'm trying to read data out of a database I created, but I always
I want to alter a record, but I don't want to read it out
I know there are quite a few text-to-array questions out there, but I am
I have read a few other posts on Stack Overflow and did some Googling
This seems like a straightforward question, but I haven't had any good answers from
I have found a few similar questions here in Stack Overflow, but I believe

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.