Skip to content

ozcanay/fluidanimate

Repository files navigation

How to build

mkdir build && cd build && cmake .. && make -j && cp ../in_5K.fluid . && cp ../in_15K.fluid .

How to run

./fluidanimate 4 1 in_5K.fluid output_file

or

./fluidanimate 4 1 in_15K.fluid output_file

Gist

Cells are what is shared among threads. We kept track addresses accessed by threads. Then we found which thread pairs accessed how many common addresses. Pinning will be done with the help of this.

From original README in the repository: Since particles which reside in adjacent cells may interact with each other, multiple threads may need to update the cells which lie on sub-grid boundaries.

This is why we kept track of Cell addresses.

Questions

#define CACHELINE_SIZE 128 // aydin: how is this 128?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •