This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Commit 6a18e8b 1 parent 7cb68d7 commit 6a18e8b Copy full SHA for 6a18e8b
File tree 4 files changed +1
-255
lines changed
thrust/system/detail/generic
4 files changed +1
-255
lines changed Original file line number Diff line number Diff line change @@ -992,15 +992,13 @@ void run_core_primitives_experiments_for_type()
992
992
, RegularTrials
993
993
>::run_experiment ();
994
994
995
- #if THRUST_CPP_DIALECT >= 2011
996
995
experiment_driver<
997
996
shuffle_tester
998
997
, ElementMetaType
999
998
, Elements / sizeof (typename ElementMetaType::type)
1000
999
, BaselineTrials
1001
1000
, RegularTrials
1002
1001
>::run_experiment ();
1003
- #endif
1004
1002
}
1005
1003
1006
1004
// /////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 1
1
#include < thrust/detail/config.h>
2
2
3
- #if THRUST_CPP_DIALECT >= 2011
4
3
#include < map>
5
4
#include < limits>
6
5
#include < thrust/random.h>
@@ -601,4 +600,3 @@ void TestShuffleEvenDistribution() {
601
600
}
602
601
}
603
602
DECLARE_INTEGRAL_VECTOR_UNITTEST (TestShuffleEvenDistribution);
604
- #endif
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ class feistel_bijection {
83
83
84
84
// Find the nearest power of two
85
85
constexpr static __host__ __device__ std::uint64_t get_cipher_bits (std::uint64_t m) {
86
- if (m == 0 ) return 0 ;
86
+ if (m <= 16 ) return 4 ;
87
87
std::uint64_t i = 0 ;
88
88
m--;
89
89
while (m != 0 ) {
You can’t perform that action at this time.
0 commit comments