Skip to content

Commit

Permalink
update xgboost-arm-and-ppc patch for xgboost 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Sep 15, 2022
1 parent d0e9560 commit e93a4a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xgboost-arm-and-ppc.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
diff --git a/src/common/hist_util.cc b/src/common/hist_util.cc
index 8e13403..9a68e88 100644
index c14da59..d95649a 100644
--- a/src/common/hist_util.cc
+++ b/src/common/hist_util.cc
@@ -17,14 +17,7 @@
#include "quantile.h"
#include "./../tree/updater_quantile_hist.h"

#include "../data/gradient_index.h"
-#if defined(XGBOOST_MM_PREFETCH_PRESENT)
- #include <xmmintrin.h>
- #define PREFETCH_READ_T0(addr) _mm_prefetch(reinterpret_cast<const char*>(addr), _MM_HINT_T0)
Expand All @@ -15,6 +15,6 @@ index 8e13403..9a68e88 100644
- #define PREFETCH_READ_T0(addr) do {} while (0)
-#endif // defined(XGBOOST_MM_PREFETCH_PRESENT)
+#define PREFETCH_READ_T0(addr) do {} while (0)

namespace xgboost {
namespace common {

0 comments on commit e93a4a7

Please sign in to comment.