Skip to content

Commit bda9e8f

Browse files
committed
confirmed working
1 parent 8f01c57 commit bda9e8f

3 files changed

Lines changed: 30 additions & 39 deletions

File tree

build/00-common.linq

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ static void DotNetRun(string args) => Run("dotnet", args.Dump(), Encoding.GetEnc
2121
static void Run(string exe, string args, Encoding encoding) => Util.Cmd(exe, args, encoding);
2222
static ProjectVersion[] Projects = new[]
2323
{
24-
new ProjectVersion("Sdcb.OpenVINO", "0.7.0-preview.2"),
25-
new ProjectVersion("Sdcb.OpenVINO.Extensions.OpenCvSharp4", "0.7.0-preview.1"),
26-
new ProjectVersion("Sdcb.OpenVINO.PaddleOCR", "0.7.0-preview.1"),
24+
new ProjectVersion("Sdcb.OpenVINO", "0.7.0-preview.4"),
25+
new ProjectVersion("Sdcb.OpenVINO.Extensions.OpenCvSharp4", "0.7.0-preview.4"),
26+
new ProjectVersion("Sdcb.OpenVINO.PaddleOCR", "0.7.0-preview.4"),
2727
new ProjectVersion("Sdcb.OpenVINO.PaddleOCR.Models.Online", "0.6.2"),
2828
};
2929

src/Sdcb.OpenVINO/Natives/Enums.g.cs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -76,81 +76,81 @@ public enum ov_element_type_e
7676
UNDEFINED = 0,
7777

7878
/// <summary>Dynamic element type</summary>
79-
DYNAMIC = 1,
79+
DYNAMIC = 0,
8080

81-
OV_BOOLEAN = 2,
81+
OV_BOOLEAN = 1,
8282

8383
/// <summary>bf16 element type</summary>
84-
BF16 = 3,
84+
BF16 = 2,
8585

8686
/// <summary>f16 element type</summary>
87-
F16 = 4,
87+
F16 = 3,
8888

8989
/// <summary>f32 element type</summary>
90-
F32 = 5,
90+
F32 = 4,
9191

9292
/// <summary>f64 element type</summary>
93-
F64 = 6,
93+
F64 = 5,
9494

9595
/// <summary>i4 element type</summary>
96-
I4 = 7,
96+
I4 = 6,
9797

9898
/// <summary>i8 element type</summary>
99-
I8 = 8,
99+
I8 = 7,
100100

101101
/// <summary>i16 element type</summary>
102-
I16 = 9,
102+
I16 = 8,
103103

104104
/// <summary>i32 element type</summary>
105-
I32 = 10,
105+
I32 = 9,
106106

107107
/// <summary>i64 element type</summary>
108-
I64 = 11,
108+
I64 = 10,
109109

110110
/// <summary>binary element type</summary>
111-
U1 = 12,
111+
U1 = 11,
112112

113113
/// <summary>u2 element type</summary>
114-
U2 = 13,
114+
U2 = 12,
115115

116116
/// <summary>u3 element type</summary>
117-
U3 = 14,
117+
U3 = 13,
118118

119119
/// <summary>u4 element type</summary>
120-
U4 = 15,
120+
U4 = 14,
121121

122122
/// <summary>u6 element type</summary>
123-
U6 = 16,
123+
U6 = 15,
124124

125125
/// <summary>u8 element type</summary>
126-
U8 = 17,
126+
U8 = 16,
127127

128128
/// <summary>u16 element type</summary>
129-
U16 = 18,
129+
U16 = 17,
130130

131131
/// <summary>u32 element type</summary>
132-
U32 = 19,
132+
U32 = 18,
133133

134134
/// <summary>u64 element type</summary>
135-
U64 = 20,
135+
U64 = 19,
136136

137137
/// <summary>nf4 element type</summary>
138-
NF4 = 21,
138+
NF4 = 20,
139139

140140
/// <summary>f8e4m3 element type</summary>
141-
F8E4M3 = 22,
141+
F8E4M3 = 21,
142142

143143
/// <summary>f8e5m2 element type</summary>
144-
F8E5M3 = 23,
144+
F8E5M3 = 22,
145145

146146
/// <summary>string element type</summary>
147-
STRING = 24,
147+
STRING = 23,
148148

149149
/// <summary>f4e2m1 element type</summary>
150-
F4E2M1 = 25,
150+
F4E2M1 = 24,
151151

152152
/// <summary>f8e8m0 element type</summary>
153-
F8E8M0 = 26,
153+
F8E8M0 = 25,
154154
}
155155

156156

src/Sdcb.OpenVINO/Natives/OpenVINOLibraryLoader.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,8 @@ static OpenVINOLibraryLoader()
5959

6060
public static List<string> SupportedVersionSuffixes { get; set; } = new()
6161
{
62+
"2520",
6263
"2510",
63-
"2500",
64-
"2450",
65-
"2440",
66-
"2430",
67-
"2420",
68-
"2410",
69-
"2400",
70-
"2330",
71-
"2320",
72-
"2310",
7364
};
7465

7566
private static IntPtr OpenVINOImportResolver(string libraryName, Assembly assembly, DllImportSearchPath? searchPath)

0 commit comments

Comments
 (0)