IntelligentSoftwareSystems / Galois

Galois: C++ library for multi-core and multi-node parallelization
http://iss.ices.utexas.edu/?p=projects/galois
Other
310 stars 131 forks source link

fix size of vertex metadata struct #413

Closed meyerzinn closed 5 months ago

meyerzinn commented 5 months ago

Apparently, galois::SpinLock is a massive class that takes >128 bytes to represent. This replaces the use of SpinLock with a simple atomic byte. In theory, we could combine the buffer field and the lock into one flags field, but we already have spare bits in the begin and end fields so that wouldn't change the size.

meyerzinn commented 5 months ago

sorry, wrong repo. ignore.