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