update util lib

This commit is contained in:
Patrick Brosi 2022-09-12 16:18:58 +02:00
parent 760ee20c35
commit 0209c6fa04

View file

@ -10,7 +10,6 @@
#include <chrono> #include <chrono>
#include <sstream> #include <sstream>
#include <iomanip> #include <iomanip>
#include <immintrin.h>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <vector> #include <vector>
@ -289,11 +288,6 @@ inline std::string readableSize(double size) {
return readableSize(size, buffer); return readableSize(size, buffer);
} }
// _____________________________________________________________________________
inline float f_rsqrt(float x) {
return _mm_cvtss_f32(_mm_rsqrt_ss(_mm_set_ss(x)));
}
// _____________________________________________________________________________ // _____________________________________________________________________________
inline std::string getTmpDir() { inline std::string getTmpDir() {
// first, check if an env variable is set // first, check if an env variable is set