Overridden functions should have more keywords
This commit is contained in:
parent
9c673317a7
commit
9730cd071e
@ -6,7 +6,7 @@
|
|||||||
template <class T>
|
template <class T>
|
||||||
class CUDAStream : public Stream<T>
|
class CUDAStream : public Stream<T>
|
||||||
{
|
{
|
||||||
private:
|
protected:
|
||||||
// Size of arrays
|
// Size of arrays
|
||||||
unsigned int array_size;
|
unsigned int array_size;
|
||||||
// Device side pointers to arrays
|
// Device side pointers to arrays
|
||||||
@ -19,10 +19,10 @@ class CUDAStream : public Stream<T>
|
|||||||
|
|
||||||
CUDAStream(const unsigned int);
|
CUDAStream(const unsigned int);
|
||||||
|
|
||||||
void copy();
|
virtual void copy() override;
|
||||||
void add();
|
virtual void add() override;
|
||||||
void mul();
|
virtual void mul() override;
|
||||||
void triad();
|
virtual void triad() override;
|
||||||
|
|
||||||
void write_arrays(const std::vector<T>& a, const std::vector<T>& b, const std::vector<T>& c);
|
void write_arrays(const std::vector<T>& a, const std::vector<T>& b, const std::vector<T>& c);
|
||||||
void read_arrays(std::vector<T>& a, std::vector<T>& b, std::vector<T>& c);
|
void read_arrays(std::vector<T>& a, std::vector<T>& b, std::vector<T>& c);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user