use signed ints for HC
This commit is contained in:
parent
66aaec281f
commit
87ab797490
@ -52,7 +52,7 @@ void listDevices(void)
|
||||
|
||||
|
||||
template <class T>
|
||||
HCStream<T>::HCStream(const unsigned int ARRAY_SIZE, const int device_index):
|
||||
HCStream<T>::HCStream(const int ARRAY_SIZE, const int device_index):
|
||||
array_size(ARRAY_SIZE),
|
||||
d_a(ARRAY_SIZE),
|
||||
d_b(ARRAY_SIZE),
|
||||
|
||||
@ -21,7 +21,7 @@ class HCStream : public Stream<T>
|
||||
{
|
||||
protected:
|
||||
// Size of arrays
|
||||
unsigned int array_size;
|
||||
int array_size;
|
||||
// Device side pointers to arrays
|
||||
hc::array<T,1> d_a;
|
||||
hc::array<T,1> d_b;
|
||||
@ -30,7 +30,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
HCStream(const unsigned int, const int);
|
||||
HCStream(const int, const int);
|
||||
~HCStream();
|
||||
|
||||
virtual void copy() override;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user