Skip to content

Commit

Permalink
Changed ECUDA to be exclusive with LARGE_INTS
Browse files Browse the repository at this point in the history
--HG--
branch : week-of-code
  • Loading branch information
matthewturk committed Jul 15, 2009
1 parent 8cce9a4 commit c98a720
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/enzo/macros_and_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
#endif
#endif

#if defined(ECUDA) && defined(LARGE_INTS)
// CUDA hates LARGE_INTS, and who can blame it?
#undef LARGE_INTS
#define SMALL_INTS
#endif

#include "message.h"

#ifdef CONFIG_THROW_ABORT
Expand Down Expand Up @@ -161,7 +167,7 @@ typedef int HDF5_hid_t;
#endif

#ifdef LARGE_INTS
//#define int long_int // commented this out to get CUDA to work
#define int long_int // CUDA doesn't like this, and who can blame it?
#define Eint long_int
#define Eunsigned_int unsigned_long_int
#define ISYM "lld"
Expand Down

0 comments on commit c98a720

Please sign in to comment.