github.com/Bytom/bytom@v1.1.2-0.20210127130405-ae40204c0b09/mining/tensority/cgo_algorithm/algorithm_unsupported.go (about) 1 // +build !simd 2 3 package cgo_algorithm 4 5 import ( 6 log "github.com/sirupsen/logrus" 7 8 "github.com/bytom/bytom/mining/tensority/go_algorithm" 9 "github.com/bytom/bytom/protocol/bc" 10 ) 11 12 func SimdAlgorithm(bh, seed *bc.Hash) *bc.Hash { 13 log.Warn("SIMD feature is not supported on release version, please compile the lib according to README to enable this feature.") 14 return go_algorithm.LegacyAlgorithm(bh, seed) 15 }