Skip to content

Commit 9a4bdc8

Browse files
author
fmz
committed
Introduce ggml_threadpool
Added an API to support explicit management of threadpools.
1 parent 74f33ad commit 9a4bdc8

33 files changed

+1278
-267
lines changed

CMakePresets.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
1212
}
1313
},
14+
{
15+
"name": "msvc",
16+
"hidden": true,
17+
"generator": "Visual Studio 17 2022",
18+
"architecture": "ARM",
19+
"binaryDir": "${sourceDir}/build-${presetName}",
20+
"cacheVariables": {
21+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
22+
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
23+
}
24+
},
1425

1526
{ "name": "debug", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } },
1627
{ "name": "release", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } },
@@ -38,8 +49,8 @@
3849
{ "name": "arm64-windows-llvm-release", "inherits": [ "base", "arm64-windows-llvm", "release" ] },
3950
{ "name": "arm64-windows-llvm+static-release", "inherits": [ "base", "arm64-windows-llvm", "release", "static" ] },
4051

41-
{ "name": "arm64-windows-msvc-debug" , "inherits": [ "base", "arm64-windows-msvc", "debug" ] },
42-
{ "name": "arm64-windows-msvc-release", "inherits": [ "base", "arm64-windows-msvc", "release" ] },
43-
{ "name": "arm64-windows-msvc+static-release", "inherits": [ "base", "arm64-windows-msvc", "release", "static" ] }
52+
{ "name": "arm64-windows-msvc-debug" , "inherits": [ "msvc", "arm64-windows-msvc", "debug" ] },
53+
{ "name": "arm64-windows-msvc-release", "inherits": [ "msvc", "arm64-windows-msvc", "release" ] },
54+
{ "name": "arm64-windows-msvc+static-release", "inherits": [ "msvc", "arm64-windows-msvc", "release", "static" ] }
4455
]
4556
}

0 commit comments

Comments
 (0)