- 
                Notifications
    You must be signed in to change notification settings 
- Fork 121
Mibm gpu optimization and io bugs #1019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            danieljvickers
  wants to merge
  22
  commits into
  MFlowCode:master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
danieljvickers:mibm-gpu-optimization-and-io-bugs
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    Changes from 13 commits
      Commits
    
    
            Show all changes
          
          
            22 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      450ff9f
              
                Replaced ib step dir to always read the correct IB files for the time…
              
              
                danieljvickers 1257732
              
                Resolved serial IO issue:
              
              
                danieljvickers d6e1976
              
                Successfully writing out markers with parallel io except for initial …
              
              
                danieljvickers a24ff39
              
                IO is working
              
              
                danieljvickers 64a57bb
              
                mostly working, but original levelset not changing
              
              
                danieljvickers 71dc556
              
                Back to working rectangle case with moving IBs
              
              
                danieljvickers f02636d
              
                Finished porting all IB marker compute to the GPU
              
              
                danieljvickers 8965ae2
              
                Full GPU support working for airfoils
              
              
                danieljvickers e87fbff
              
                Removed depricated code
              
              
                danieljvickers 240c588
              
                Removed some unused variables and parallelized more levelset calculat…
              
              
                danieljvickers 77c1432
              
                All levelsets updated for GPU compute
              
              
                danieljvickers bd6096b
              
                Passed test suite of IBM cases
              
              
                danieljvickers 91b256f
              
                Ran formatting
              
              
                danieljvickers 0389b67
              
                The premature data save fixes MIBM frame 0 data, but ruins test suite…
              
              
                danieljvickers eae1974
              
                Added something that may fix the cray issue
              
              
                danieljvickers 3dc61e0
              
                Intermittend commit
              
              
                 e1591e3
              
                Passes cray compiler tests
              
              
                 a301fbc
              
                Modified all GPU parallel statements and ran formatting
              
              
                 7a05539
              
                Fixed IB marker write issue with something more sustainable
              
              
                danieljvickers 21b79e4
              
                Merge branch 'master' into mibm-gpu-optimization-and-io-bugs
              
              
                danieljvickers 76ec5ed
              
                Fixed bug with centroid and length not being comunicated over MPI
              
              
                danieljvickers 1cdbbe3
              
                Merge branch 'mibm-gpu-optimization-and-io-bugs' of github.com:daniel…
              
              
                danieljvickers File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
      
      Oops, something went wrong.
      
    
  
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
High-level Suggestion
To improve code clarity and reduce redundancy, refactor the
patch_ibderived type to store geometric properties like centroids as arrays directly. This avoids repeatedly creating local temporary arrays within each GPU-accelerated subroutine. [High-level, importance: 7]Solution Walkthrough:
Before:
After: