diff --git a/RAJAStream.cpp b/RAJAStream.cpp index 395a6ee..2d24f2a 100644 --- a/RAJAStream.cpp +++ b/RAJAStream.cpp @@ -15,7 +15,7 @@ using RAJA::RangeSegment; #endif template -RAJAStream::RAJAStream(const unsigned int ARRAY_SIZE, const int device_index) +RAJAStream::RAJAStream(const int ARRAY_SIZE, const int device_index) : array_size(ARRAY_SIZE) { RangeSegment seg(0, ARRAY_SIZE); diff --git a/RAJAStream.hpp b/RAJAStream.hpp index b5cb586..bfcc70f 100644 --- a/RAJAStream.hpp +++ b/RAJAStream.hpp @@ -32,7 +32,7 @@ class RAJAStream : public Stream { protected: // Size of arrays - unsigned int array_size; + int array_size; // Contains iteration space RAJA::IndexSet index_set; @@ -44,7 +44,7 @@ class RAJAStream : public Stream public: - RAJAStream(const unsigned int, const int); + RAJAStream(const int, const int); ~RAJAStream(); virtual void copy() override;