Skip to content

Commit

Permalink
Merge Pull Request #10399 from uliegecsm/Trilinos/develop-patch-cuda-…
Browse files Browse the repository at this point in the history
…math

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Stokhos: Fixing #10388
PR Author: maartenarnst
  • Loading branch information
trilinos-autotester authored Apr 24, 2022
2 parents dba5ca3 + 3b17323 commit 69bd220
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@
#include <ostream> // for std::ostream

#ifdef __CUDACC__
#include <math_functions.h>
#include <cuda_runtime_api.h>
// including math functions via math_functions.h is deprecated in cuda version >= 10.0
// the deprecation warning indicates to use cuda_runtime_api.h instead
#if CUDART_VERSION < 10000
#include <math_functions.h>
#endif
#endif

/*
Expand Down

0 comments on commit 69bd220

Please sign in to comment.