]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark NumberTraits::conjugate() as DEAL_II_CUDA_HOST_DEV.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 18 Jan 2018 13:54:28 +0000 (06:54 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 19 Jan 2018 04:32:52 +0000 (21:32 -0700)
include/deal.II/base/numbers.h

index 041fa2770c4f4bda9d585caa3fb0c7a4bdef7fc3..85886497d03a286e496cc886a3a8123a48d39b62 100644 (file)
@@ -215,6 +215,7 @@ namespace numbers
      * function simply returns the given number.
      */
     static
+    DEAL_II_CUDA_HOST_DEV
     const number &conjugate (const number &x);
 
     /**
@@ -329,6 +330,7 @@ namespace numbers
 
 
   template <typename number>
+  DEAL_II_CUDA_HOST_DEV
   const number &
   NumberTraits<number>::conjugate (const number &x)
   {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.