-
Notifications
You must be signed in to change notification settings - Fork 0
/
KernelNames.cs
48 lines (40 loc) · 1.28 KB
/
KernelNames.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace nyxeka.ai
{
public static class KernelNames
{
//names of functions
public static string WeightValues = "NNAddWeights1024";
public static string SumWeights = "NNSumWeights256";
public static string CreateOutput = "NNCreateOutput";
//names of buffers
public static string VISION_IO_BUFFER = "Result";
public static string WEIGHT_INPUT = "weightValues";
public static string WEIGHTED_VALUE_HOLDER = "weightedValues";
public static int stepA_X = 1;
public static int stepA_Y = 4;
public static int stepA_Z = 64;
public static int stepB_X = 16;
public static int stepB_Y = 64;
public static int stepB_Z = 1;
public static int stepC_X = 1;
public static int stepC_Y = 1;
public static int stepC_Z = 1;
}
public static class AITexSizes
{
public static int
INPUT_TEX_WIDTH = 32,
OUTPUT_TEX_WIDTH = 32,
WEIGHTED_VALUE_HOLDER_WIDTH = 256,
WEIGHTED_VALUE_HOLDER_HEIGHT = 1024,
AXON_TEX_WIDTH = 1024,
STAT_INPUT_WIDTH = 8,
STAT_INFLUENCE_WIDTH = 8,
HORMONE_TEX_WIDTH = 8,
MEMORY_TEX_WIDTH = 8192,
NEW_THOUGHT_BUFFER = 2048;
}
}