mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-18 06:20:51 +00:00
Fix style
This commit is contained in:
parent
cfc87767c5
commit
d4a8d91789
@ -76,7 +76,8 @@ void RandImpl::execute(char * output, size_t size)
|
||||
/// It is guaranteed (by PaddedPODArray) that we can overwrite up to 15 bytes after end.
|
||||
}
|
||||
|
||||
namespace {
|
||||
namespace
|
||||
{
|
||||
|
||||
// The array of random numbers from 'head -c8 /dev/urandom | xxd -p'.
|
||||
// Can be used for creating seeds for random generators.
|
||||
|
@ -124,13 +124,11 @@ public:
|
||||
|
||||
if constexpr (UseMultitargetCode)
|
||||
{
|
||||
// vec impl 4
|
||||
selector.registerImplementation<TargetArch::AVX2,
|
||||
FunctionRandomImpl<TargetSpecific::AVX2::RandVecImpl4<4>, ToType, Name>>();
|
||||
|
||||
selector.registerImplementation<TargetArch::AVX512F,
|
||||
FunctionRandomImpl<TargetSpecific::AVX512F::RandVecImpl4<8>, ToType, Name>>();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user