Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK-m
Commits
e3ef8ed5
Commit
e3ef8ed5
authored
Aug 09, 2018
by
Robert Maynard
Browse files
Make BRIGAND_COMP_CUDA_9PLUS capture all future versions of cuda
parent
a891e6d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/internal/brigand.hpp
View file @
e3ef8ed5
...
...
@@ -25,8 +25,8 @@
#endif
#endif
#if defined(__CUDACC__)
#if __CUDACC_VER_MAJOR__
=
= 9
#define BRIGAND_COMP_CUDA_9
#if __CUDACC_VER_MAJOR__
>
= 9
#define BRIGAND_COMP_CUDA_9
PLUS
#endif
#define BRIGAND_COMP_CUDA
#endif
...
...
@@ -259,7 +259,7 @@ namespace brigand
};
template
<
std
::
size_t
N
,
typename
Seq
>
struct
at_impl
;
#if defined(BRIGAND_COMP_CUDA_9) || defined(BRIGAND_COMP_INTEL)
#if defined(BRIGAND_COMP_CUDA_9
PLUS
) || defined(BRIGAND_COMP_INTEL)
//Both CUDA 9 and the Intel 18 compiler series have a problem deducing the
//type so we are just going
template
<
std
::
size_t
N
,
template
<
typename
...
>
class
L
,
class
...
Ts
>
...
...
@@ -503,7 +503,7 @@ namespace lazy
using
type
=
::
brigand
::
size_t
<
0
>
;
};
#if defined(BRIGAND_COMP_CUDA_9)
#if defined(BRIGAND_COMP_CUDA_9
PLUS
)
//This was added for CUDA 9 RC1 and most likely will need CUDA
//version guards
template
<
class
P
,
class
T
>
...
...
@@ -1551,7 +1551,7 @@ namespace detail
namespace
brigand
{
#if (defined(BRIGAND_COMP_GCC) || defined(BRIGAND_COMP_CLANG)) && !defined(BRIGAND_COMP_CUDA_9)
#if (defined(BRIGAND_COMP_GCC) || defined(BRIGAND_COMP_CLANG)) && !defined(BRIGAND_COMP_CUDA_9
PLUS
)
namespace
lazy
{
template
<
typename
L
,
typename
Pred
>
...
...
Robert Maynard
@robertmaynard
mentioned in commit
34966212
·
Aug 14, 2018
mentioned in commit
34966212
mentioned in commit 34966212c76030b799615f77c49ea62cb2db4493
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment