Skip to content

Commit

Permalink
towards nvidia compat
Browse files Browse the repository at this point in the history
  • Loading branch information
lehner committed Oct 23, 2023
1 parent 31d05fb commit ae8dd10
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/cgpt/lib/lattice/implementation.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/


template<class T>
class cgpt_Lattice : public cgpt_Lattice_base {
public:
Expand Down
2 changes: 1 addition & 1 deletion lib/cgpt/lib/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
#include "distribute.h"
#include "transform.h"
#include "grid.h"
#include "lattice.h"
#include "stencil.h"
#include "lattice.h"
#include "util.h"
#include "precision.h"
#include "expression.h"
Expand Down
3 changes: 2 additions & 1 deletion lib/cgpt/lib/stencil/tensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ class cgpt_stencil_tensor : public cgpt_stencil_tensor_base {
typedef typename T::scalar_type element_t;
#define NSIMD (sizeof(typename T::vector_type) / sizeof(typename T::scalar_type))
#endif
typedef typename element_t::scalar_type coeff_t;
typedef typename T::scalar_type coeff_t;


VECTOR_ELEMENT_VIEW_OPEN(element_t, fields, fields_v, AcceleratorWrite);

Expand Down

0 comments on commit ae8dd10

Please sign in to comment.