cuckoo's People
cuckoo's Issues
missing atomics in node bitmap update
The following pragmas avoid losing some set bits when multiple threads race to set a bit in the same word. There is still a risk of two threads trying to set the exact same bit and both seeing it 0 before the update, but that's less likely (an issue that cuckatoo avoids).
// Two bit counter for cuckoo
if ((bucketNodes[targ] & one) != 0) {
-
#pragma omp atomic update bucketNodes[nodesPerBucket + targ] |= one; }
-
#pragma omp atomic update bucketNodes[targ] |= one;
Build failing on my ARM CPU
Hi!
I try to build slean
but it's fail with stdout log:
Scanning dependencies of target cuckooSlean
[ 25%] Building CXX object CMakeFiles/cuckooSlean.dir/crypto/blake2bx.cpp.o
In file included from /home/pi/work/Lolliedieb-cuckoo/slean/crypto/blake2bx.cpp:22:0:
/home/pi/work/Lolliedieb-cuckoo/slean/crypto/blake2-config.h:68:2: error: #error "This code requires at least SSE2."
#error "This code requires at least SSE2."
^~~~~
/home/pi/work/Lolliedieb-cuckoo/slean/crypto/blake2bx.cpp:28:23: fatal error: emmintrin.h: No such file or directory
#include <emmintrin.h>
^
compilation terminated.
AFAIK (from googling) its Header file for x86 SIMD intrinsics.
I possible could you provide "vanilla code" for portability or give some references for blake2bx.cpp
pure-C implementation?
Kindly Regards,
Dmitry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.