mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 17:19:09 +08:00
3fadafface
* [many ports] Updates 2019.05.24 * Update SHA512 and resolve conflict for ebml and matroska * [avro-c]Fix build error caused by jansson upgrades. * [xxhash]Update to the next version to fix build error.(xxhash issue:#179) * Fix failures and undo asio * [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches * Update REF * Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes * [flann, fastcdr] Fix old patches and build error. * [flann, fastcdr] Fix build error. * Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes * [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error. * fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi * fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers * undo libmupdf forge kd-soap qca * [mosquitto] Fix installation of import libs * [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes * [fastcdr] Minimize patch * [many ports] Revert trivial changes * [libyaml] Switch to non-dist tag * [sqlite-modern-cpp] Track master due to infrequent release * [nano-signal-slot] Revert downgrade * [openvpn3] Bump control version to account for portfile change * [sqlite-modern-cpp] Fixup wrong hash * [mosquitto] Commit missing patch
93 lines
3.0 KiB
Diff
93 lines
3.0 KiB
Diff
diff --git a/similarity_search/src/method/hnsw.cc b/similarity_search/src/method/hnsw.cc
|
|
index f5c7fca..4780746 100644
|
|
--- a/similarity_search/src/method/hnsw.cc
|
|
+++ b/similarity_search/src/method/hnsw.cc
|
|
@@ -27,7 +27,7 @@
|
|
#include <iostream>
|
|
#include <memory>
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
|
|
#include "portable_simd.h"
|
|
#include "knnquery.h"
|
|
diff --git a/similarity_search/src/method/hnsw_distfunc_opt.cc b/similarity_search/src/method/hnsw_distfunc_opt.cc
|
|
index 168ee81..408d95d 100644
|
|
--- a/similarity_search/src/method/hnsw_distfunc_opt.cc
|
|
+++ b/similarity_search/src/method/hnsw_distfunc_opt.cc
|
|
@@ -30,7 +30,7 @@
|
|
#include "rangequery.h"
|
|
#include "portable_intrinsics.h"
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
#include "space.h"
|
|
|
|
#include "sort_arr_bi.h"
|
|
diff --git a/similarity_search/src/method/pivot_neighb_invindx.cc b/similarity_search/src/method/pivot_neighb_invindx.cc
|
|
index b6473bd..6dcb00f 100644
|
|
--- a/similarity_search/src/method/pivot_neighb_invindx.cc
|
|
+++ b/similarity_search/src/method/pivot_neighb_invindx.cc
|
|
@@ -21,7 +21,7 @@
|
|
#include <unordered_map>
|
|
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
|
|
#include "portable_simd.h"
|
|
#include "space.h"
|
|
diff --git a/similarity_search/src/method/small_world_rand.cc b/similarity_search/src/method/small_world_rand.cc
|
|
index e8280cb..6bdb0f7 100644
|
|
--- a/similarity_search/src/method/small_world_rand.cc
|
|
+++ b/similarity_search/src/method/small_world_rand.cc
|
|
@@ -16,7 +16,7 @@
|
|
#include <memory>
|
|
#include <iostream>
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
#include <intrin.h>
|
|
diff --git a/similarity_search/src/method/vptree.cc b/similarity_search/src/method/vptree.cc
|
|
index 04f481e..c71eed5 100644
|
|
--- a/similarity_search/src/method/vptree.cc
|
|
+++ b/similarity_search/src/method/vptree.cc
|
|
@@ -20,7 +20,7 @@
|
|
#include <cmath>
|
|
|
|
// This is only for _mm_prefetch
|
|
-#include <mmintrin.h>
|
|
+#include <xmmintrin.h>
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
#include <intrin.h>
|
|
#endif
|
|
diff --git a/similarity_search/test/test_overlap.cc b/similarity_search/test/test_overlap.cc
|
|
index 326b26b..413d66d 100644
|
|
--- a/similarity_search/test/test_overlap.cc
|
|
+++ b/similarity_search/test/test_overlap.cc
|
|
@@ -12,7 +12,6 @@
|
|
* Apache License Version 2.0 http://www.apache.org/licenses/.
|
|
*
|
|
*/
|
|
-#include <sys/time.h>
|
|
|
|
#include <logging.h>
|
|
#include <idtype.h>
|
|
diff --git a/similarity_search/test/test_pow.cc b/similarity_search/test/test_pow.cc
|
|
index 1b46a68..faaa84e 100644
|
|
--- a/similarity_search/test/test_pow.cc
|
|
+++ b/similarity_search/test/test_pow.cc
|
|
@@ -29,8 +29,8 @@ using namespace std;
|
|
|
|
const float MAX_REL_DIFF = 1e-6f;
|
|
|
|
-vector<float> addExps = { 0, 0.125, 0.25, 0.5 };
|
|
-vector<float> vals = { 0.1, 0.5, 1, 1.5, 2, 4};
|
|
+vector<float> addExps = { 0, 0.125f, 0.25f, 0.5f };
|
|
+vector<float> vals = { 0.1f, 0.5f, 1, 1.5f, 2, 4};
|
|
vector<float> signs = { 1, -1};
|
|
|
|
template <typename T> bool runTest() {
|