Replies: 1 comment 2 replies
-
| 
         No. Shared memory swizzling is used to prevent bank conflict. Only shared memory load/store instructions could have this issue. I don't remember that shared memory banks have ever been changed.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
So this is my understanding, please correct me if I am wrong. Swizzling of data in shared memory depends on the PTX instruction which will finally use the data. PTX instructions may vary with different architectures. Each PTX instruction may have a different thread data mapping and to have minimum bank conflicts the swizzling function should also be different i.e., a swizzling function for one PTX instruction may not result in the same bank conflicts for a different PTX instruction. Is that correct?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions