JASPL
0.2
Just Another Signal Processing Library
Main Page
Related Pages
Classes
Files
File List
TaskItems
Arithmetic
ScalarAdd
scalaradd.h
1
#ifndef SCALARADD_H
2
#define SCALARADD_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
ScalarAdd
:
public
TaskItem
{
21
22
public
:
23
24
ScalarAdd
(
typename
T::value_type scalar_value );
25
~
ScalarAdd
();
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
41
#include "TaskItems/Arithmetic/ScalarAdd/scalaradd.tpp"
42
43
}
44
45
}
46
47
#endif // SCALARADD_H
jaspl
Definition:
ouroboros.h:19
jaspl::ocl::TaskItem
Definition:
taskitem.h:26
jaspl::ocl::ScalarAdd
Definition:
scalaradd.h:20
Generated by
1.8.11