mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 21:33:55 +00:00
Fix brigand for CUDA 10.2.
There were issues with brigand::all's implementation with the new cuda compiler.
This commit is contained in:
parent
84eedc8855
commit
6d4e37e95c
@ -34,6 +34,10 @@
|
||||
#define BRIGAND_COMP_CUDA_9PLUS
|
||||
#endif
|
||||
|
||||
#if __CUDACC_VER_MAJOR__ > 10 || (__CUDACC_VER_MAJOR__ == 10 && __CUDACC_VER_MINOR__ >= 2)
|
||||
#define BRIGAND_COMP_CUDA_10_2PLUS
|
||||
#endif
|
||||
|
||||
#define BRIGAND_COMP_CUDA
|
||||
#endif
|
||||
|
||||
@ -910,7 +914,7 @@ namespace detail
|
||||
#include <initializer_list>
|
||||
namespace brigand
|
||||
{
|
||||
#if defined(BRIGAND_COMP_CUDA) || defined(BRIGAND_COMP_INTEL)
|
||||
#if (defined(BRIGAND_COMP_CUDA) && !defined(BRIGAND_COMP_CUDA_10_2PLUS)) || defined(BRIGAND_COMP_INTEL)
|
||||
namespace detail
|
||||
{
|
||||
template<class P, class T>
|
||||
|
Loading…
Reference in New Issue
Block a user