Giter VIP home page Giter VIP logo

cuckoo's People

Contributors

lolliedieb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.