This repository was archived by the owner on Mar 21, 2024. It is now read-only.
File tree 3 files changed +17
-2
lines changed
3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 9
9
# Thrust and CUB build script for gpuCI
10
10
# ###############################################################################
11
11
12
- set -e
12
+ set -e # Stop on errors.
13
13
14
14
# append variable value
15
15
# Appends ${value} to ${variable}, adding a space before ${value} if
@@ -65,7 +65,9 @@ function join_delimit {
65
65
# ###############################################################################
66
66
67
67
# Get the variables the Docker container set up for us: ${CXX}, ${CUDACXX}, etc.
68
+ set +e # Don't stop on errors from /etc/cccl.bashrc.
68
69
source /etc/cccl.bashrc
70
+ set -e # Stop on errors.
69
71
70
72
# Set path.
71
73
export PATH=/usr/local/cuda/bin:${PATH}
Original file line number Diff line number Diff line change @@ -26,6 +26,17 @@ template <class Vector>
26
26
void TestScanSimple (void )
27
27
{
28
28
typedef typename Vector::value_type T;
29
+
30
+ // icc miscompiles the intermediate sum updates for custom_numeric.
31
+ // The issue doesn't happen with opts disabled, or on other compilers.
32
+ // Printing the intermediate sum each iteration "fixes" the issue,
33
+ // so likely a bad optimization.
34
+ #if THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_INTEL
35
+ if (std::is_same<T, custom_numeric>::value)
36
+ {
37
+ return ;
38
+ }
39
+ #endif
29
40
30
41
typename Vector::iterator iter;
31
42
Original file line number Diff line number Diff line change 18
18
19
19
#include < thrust/detail/config.h>
20
20
21
- #if (THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_GCC) || (THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_CLANG)
21
+ #if (THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_GCC) || \
22
+ (THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_CLANG) || \
23
+ (THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_INTEL)
22
24
#include < stdint.h>
23
25
#endif
24
26
You can’t perform that action at this time.
0 commit comments