use signed int for array size in RAJA
This commit is contained in:
parent
87ab797490
commit
15001000c5
@ -15,7 +15,7 @@ using RAJA::RangeSegment;
|
||||
#endif
|
||||
|
||||
template <class T>
|
||||
RAJAStream<T>::RAJAStream(const unsigned int ARRAY_SIZE, const int device_index)
|
||||
RAJAStream<T>::RAJAStream(const int ARRAY_SIZE, const int device_index)
|
||||
: array_size(ARRAY_SIZE)
|
||||
{
|
||||
RangeSegment seg(0, ARRAY_SIZE);
|
||||
|
||||
@ -32,7 +32,7 @@ class RAJAStream : public Stream<T>
|
||||
{
|
||||
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<T>
|
||||
|
||||
public:
|
||||
|
||||
RAJAStream(const unsigned int, const int);
|
||||
RAJAStream(const int, const int);
|
||||
~RAJAStream();
|
||||
|
||||
virtual void copy() override;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user