Skip to content

A Slime Chunk finder implementation in CUDA to find the 16x16 area with the most slime chunks around.

Notifications You must be signed in to change notification settings

EDDxample/cuda-slime-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slime Finder

A Slime Chunk finder implementation in CUDA to find the 16x16 area with the most slime chunks around.

banner

Commands

# compile
nvcc src/main.cu -o build/slime_finder

# run
./build/slime_finder

Algorithms

  • v1:
    • Each device thread computes 1 full row of chunks at a given Z coord.
    • The host finds the best row from the results of the previous step.
    • Duration: ~1:50 secs.
  • v2:
    • Same algorithm as v1.
    • A queue is used to cache previous computed columns.
    • Duration: ~0:45 secs.
  • v3 (TODO):
    • Takaoka's parallel algorithm (check sources).

Sources

About

A Slime Chunk finder implementation in CUDA to find the 16x16 area with the most slime chunks around.

Resources

Stars

Watchers

Forks

Packages

No packages published