Buckets:

soixantesept's picture
download
raw
890 Bytes
#include "OLS_factory.hpp"
#include "OLS_float_Scalar.hpp"
#include "OLS_double_Scalar.hpp"
#ifdef X64_SIMD_AVAILABLE
#include "OLS_float_SSE3.hpp"
#include "OLS_double_SSE3.hpp"
#endif
std::unique_ptr<OLS_float> create_OLS_float(SIMDType simd, size_t n, size_t solveInterval, float lambda, float nu) {
#ifdef X64_SIMD_AVAILABLE
if (simd >= SIMDType::SIMD_SSE3)
return std::make_unique<OLS_float_SSE3>(n, solveInterval, lambda, nu);
else
#endif
return std::make_unique<OLS_float_Scalar>(n, solveInterval, lambda, nu);
}
std::unique_ptr<OLS_double> create_OLS_double(SIMDType simd, size_t n, size_t solveInterval, double lambda, double nu) {
#ifdef X64_SIMD_AVAILABLE
if (simd >= SIMDType::SIMD_SSE3)
return std::make_unique<OLS_double_SSE3>(n, solveInterval, lambda, nu);
else
#endif
return std::make_unique<OLS_double_Scalar>(n, solveInterval, lambda, nu);
}

Xet Storage Details

Size:
890 Bytes
·
Xet hash:
4eb72e835056c51f00ad3eaecd019ec1beb7faf332747081095437c8d7d46712

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.