@@ -51,7 +51,7 @@ using seq_exec = axom::SEQ_EXEC;
51
51
using cuda_exec = seq_exec;
52
52
#endif
53
53
54
- #if defined(AXOM_USE_HIP) && defined(AXOM_USE_UMPIRE) && defined(NDEBUG)
54
+ #if defined(AXOM_USE_HIP) && defined(AXOM_USE_UMPIRE)
55
55
constexpr int HIP_BLOCK_SIZE = 256 ;
56
56
using hip_exec = axom::HIP_EXEC<HIP_BLOCK_SIZE>;
57
57
#else
@@ -139,7 +139,7 @@ const std::map<std::string, RuntimePolicy> Input::s_validPolicies({
139
139
#ifdef AXOM_USE_CUDA
140
140
, {" raja_cuda" , raja_cuda}
141
141
#endif
142
- #if defined(AXOM_USE_HIP) && defined(NDEBUG)
142
+ #if defined(AXOM_USE_HIP)
143
143
, {" raja_hip" , raja_hip}
144
144
#endif
145
145
#endif
@@ -181,7 +181,7 @@ void Input::parse(int argc, char** argv, axom::CLI::App& app)
181
181
#ifdef AXOM_USE_CUDA
182
182
pol_sstr << " \n Set to 'raja_cuda' or 3 to use the RAJA CUDA policy." ;
183
183
#endif
184
- #if defined(AXOM_USE_HIP) && defined(NDEBUG)
184
+ #if defined(AXOM_USE_HIP)
185
185
pol_sstr << " \n Set to 'raja_hip' or 4 to use the RAJA HIP policy." ;
186
186
#endif
187
187
#endif
@@ -705,7 +705,7 @@ int main(int argc, char** argv)
705
705
params.intersectionThreshold );
706
706
break ;
707
707
#endif
708
- #if defined(AXOM_USE_HIP) && defined(NDEBUG)
708
+ #if defined(AXOM_USE_HIP)
709
709
case raja_hip:
710
710
collisions =
711
711
naiveIntersectionAlgorithm<hip_exec>(surface_mesh,
@@ -762,7 +762,7 @@ int main(int argc, char** argv)
762
762
params.intersectionThreshold );
763
763
break ;
764
764
#endif
765
- #if defined(AXOM_USE_HIP) && defined(NDEBUG)
765
+ #if defined(AXOM_USE_HIP)
766
766
case raja_hip:
767
767
quest::findTriMeshIntersectionsBVH<hip_exec, double >(
768
768
surface_mesh,
@@ -823,7 +823,7 @@ int main(int argc, char** argv)
823
823
params.intersectionThreshold );
824
824
break ;
825
825
#endif
826
- #if defined(AXOM_USE_HIP) && defined(AXOM_USE_UMPIRE) && defined(NDEBUG)
826
+ #if defined(AXOM_USE_HIP) && defined(AXOM_USE_UMPIRE)
827
827
case raja_hip:
828
828
quest::findTriMeshIntersectionsImplicitGrid<hip_exec, double >(
829
829
surface_mesh,
@@ -882,7 +882,7 @@ int main(int argc, char** argv)
882
882
params.intersectionThreshold );
883
883
break ;
884
884
#endif
885
- #if defined(AXOM_USE_HIP) && defined(AXOM_USE_UMPIRE) && defined(NDEBUG)
885
+ #if defined(AXOM_USE_HIP) && defined(AXOM_USE_UMPIRE)
886
886
case raja_hip:
887
887
quest::findTriMeshIntersectionsUniformGrid<hip_exec, double >(
888
888
surface_mesh,
0 commit comments