CorTeX Core ABI 7
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
ctxMadControl.h
Go to the documentation of this file.
1//*****************************************************************************
2// File : ctxMadControl.h
3// Description : Managers MAD controls
4// Author : Anders Modén
5// Product : CorTeX 2.0.1
6//
7// Copyright © 2015- Anders Modén, Sweden
8//
9// NOTE: CorTeX is a software development kit (SDK)
10// for neural networks and genetic programming.
11// Licensed by Anders Modén.
12//
13//
14// Revision History...
15//
16// Who Date Description
17//
18// AMO 150708 Created file (1.0.0)
19//
20//******************************************************************************
21#ifndef __CTX_MAD_CONTROL_H__
22#define __CTX_MAD_CONTROL_H__
23
24#include "ctxBuffer.h"
25
28{
30
31 gzUInt32 size;
32
33 gzUInt32 start_a_index;
34
35 gzUInt32 start_b_index;
36
37 gzInt32 stride_a;
38
39 gzInt32 stride_b;
40};
41
42
44{
45public:
46
47 CTX_EXPORT static ctxBuffer * getMultiplyControl(gzUInt32 rows, gzUInt32 cols, gzUInt32 size);
48
49private:
50
51 static gzRefDict<gzTripleHash<gzUInt32>, ctxBuffer> s_multplyControlDict;
52 static gzMutex s_controlDictLocker;
53};
54
55
56#endif //__CTX_MAD_CONTROL_H__
57
58
static ctxBuffer * getMultiplyControl(gzUInt32 rows, gzUInt32 cols, gzUInt32 size)
#define CTX_EXPORT
Definition ctxBase.h:68
A Structure for MAD (Multiply & Add) control.
gzUInt32 destination_index
gzUInt32 start_a_index
gzUInt32 start_b_index