JASPL
0.2
Just Another Signal Processing Library
Main Page
Related Pages
Classes
Files
File List
TaskItems
Arithmetic
ScalarMultiply
scalarmultiply.h
1
#ifndef SCALARMULTIPLY_H
2
#define SCALARMULTIPLY_H
3
4
//C System-Headers
5
//
6
//C++ System headers
7
#include <boost/type_traits.hpp>
8
//OpenCL Headers
9
//
10
//Boost Headers
11
//
12
//Project specific headers
13
#include "../JASPL/TaskItem/taskitem.h"
14
15
namespace
jaspl
{
16
17
namespace
ocl {
18
19
template
<
class
T>
20
class
ScalarMultiply
:
public
TaskItem
{
21
22
public
:
23
24
ScalarMultiply
(
typename
T::value_type scalar_value );
25
~
ScalarMultiply
();
26
27
protected
:
28
29
void
Trigger();
30
void
SetSignal(cl::Buffer& signal_buff , uint sig_size);
31
32
cl::Buffer& ProcessedSignal();
33
size_t
ProcessedSignalBytes();
34
size_t
ProcessedSignalSize();
35
bool
NeedsToReknew();
36
37
cl_int err;
38
};
39
40
#include "TaskItems/Arithmetic/ScalarMultiply/scalarmultiply.tpp"
41
42
}
43
44
}
45
46
#endif // SCALARMULTIPLY_H
jaspl
Definition:
ouroboros.h:19
jaspl::ocl::TaskItem
Definition:
taskitem.h:26
jaspl::ocl::ScalarMultiply
Definition:
scalarmultiply.h:20
Generated by
1.8.11