summaryrefslogtreecommitdiffstats
path: root/Whisper/API/eGpuModelFlags.h
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-18 20:35:30 +0100
committerKonstantin <const@const.me>2023-01-18 20:35:30 +0100
commit11c399b70c7ad5664b6060b39632e6b9fa815350 (patch)
tree763afed51699017749d3f0398f16928aad7544a4 /Whisper/API/eGpuModelFlags.h
parentad097a744759c6a78e1b33ea9d2b4b2af01c529d (diff)
Optional startup flags to override performance-related defaults for the compute shaders
Diffstat (limited to 'Whisper/API/eGpuModelFlags.h')
-rw-r--r--Whisper/API/eGpuModelFlags.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Whisper/API/eGpuModelFlags.h b/Whisper/API/eGpuModelFlags.h
new file mode 100644
index 0000000..96f5a76
--- /dev/null
+++ b/Whisper/API/eGpuModelFlags.h
@@ -0,0 +1,13 @@
+#pragma once
+#include <stdint.h>
+
+namespace Whisper
+{
+ enum struct eGpuModelFlags : uint32_t
+ {
+ Wave32 = 1,
+ Wave64 = 2,
+ NoReshapedMatMul = 4,
+ UseReshapedMatMul = 8,
+ };
+} \ No newline at end of file