CorTeX
Core ABI 7
ToolTech Software · C++ library reference
ToolTech
CorTeX overview
Programmer’s manual
Class reference
Change history
CycloPos ↗
Toggle main menu visibility
Loading...
Searching...
No Matches
include
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
27
struct
ctxMadControl
28
{
29
gzUInt32
destination_index
;
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
43
class
ctxMatrixMadController
44
{
45
public
:
46
47
CTX_EXPORT
static
ctxBuffer
*
getMultiplyControl
(gzUInt32 rows, gzUInt32 cols, gzUInt32 size);
48
49
private
:
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
ctxBuffer
Definition
ctxBuffer.h:43
ctxMatrixMadController
Definition
ctxMadControl.h:44
ctxMatrixMadController::getMultiplyControl
static ctxBuffer * getMultiplyControl(gzUInt32 rows, gzUInt32 cols, gzUInt32 size)
CTX_EXPORT
#define CTX_EXPORT
Definition
ctxBase.h:68
ctxBuffer.h
ctxMadControl
A Structure for MAD (Multiply & Add) control.
Definition
ctxMadControl.h:28
ctxMadControl::destination_index
gzUInt32 destination_index
Definition
ctxMadControl.h:29
ctxMadControl::start_a_index
gzUInt32 start_a_index
Definition
ctxMadControl.h:33
ctxMadControl::stride_a
gzInt32 stride_a
Definition
ctxMadControl.h:37
ctxMadControl::stride_b
gzInt32 stride_b
Definition
ctxMadControl.h:39
ctxMadControl::size
gzUInt32 size
Definition
ctxMadControl.h:31
ctxMadControl::start_b_index
gzUInt32 start_b_index
Definition
ctxMadControl.h:35
Generated by
1.18.0