Buckets:
agent-collaborations/hutter-prize-67 / decoder-bundle-minimization /work /paq8px-src /src /MixerFactory.cpp
| | |
| MixerFactory::MixerFactory(const Shared* const sh) : shared(sh) {} | |
| Mixer* MixerFactory::createMixer(const int n, const int m, const int s, const int promoted) const { | |
| const SIMDType chosenSimd = shared->chosenSimd; | |
| if (chosenSimd == SIMDType::SIMD_NONE) { | |
| return new Mixer_Scalar(shared, n, m, s, promoted); | |
| } | |
| else if (chosenSimd >= SIMDType::SIMD_AVX512) { | |
| return new Mixer_AVX512(shared, n, m, s, promoted); | |
| } | |
| else if (chosenSimd >= SIMDType::SIMD_AVX2) { | |
| return new Mixer_AVX2(shared, n, m, s, promoted); | |
| } | |
| else if (chosenSimd >= SIMDType::SIMD_SSE2) { | |
| return new Mixer_SSE2(shared, n, m, s, promoted); | |
| } | |
| else if (chosenSimd == SIMDType::SIMD_NEON) { | |
| return new Mixer_Neon(shared, n, m, s, promoted); | |
| } | |
| assert(false); | |
| return nullptr; | |
| } | |
Xet Storage Details
- Size:
- 884 Bytes
- Xet hash:
- 27ff51edfe92cbfc48ae4e0824801dcdb8f202728992b4216b2f8dfc2a48238b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.