File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ typedef enum {
4545 kLiteRtEnvOptionTagMagicNumberConfigs = 16 ,
4646 kLiteRtEnvOptionTagMagicNumberVerifications = 17 ,
4747 kLiteRtEnvOptionTagCompilerCacheDir = 18 ,
48+ // Singleton ML Drift WebGPU/Dawn instance required for shared libraries not
49+ // to create their own instances.
50+ kLiteRtEnvOptionTagWebGpuInstance = 19 ,
51+ // Dawn procedure table pointer for shared libraries to populate their tables
52+ // with the shared procedures instead of their own procedures.
53+ kLiteRtEnvOptionTagWebGpuProcs = 20 ,
4854} LiteRtEnvOptionTag ;
4955
5056typedef struct {
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ class Environment
5757 MagicNumberConfigs = kLiteRtEnvOptionTagMagicNumberConfigs ,
5858 MagicNumberVerifications = kLiteRtEnvOptionTagMagicNumberVerifications ,
5959 CompilerCacheDir = kLiteRtEnvOptionTagCompilerCacheDir ,
60+ WebGpuInstance = kLiteRtEnvOptionTagWebGpuInstance ,
61+ WebGpuProcs = kLiteRtEnvOptionTagWebGpuProcs ,
6062 };
6163
6264 struct Option {
You can’t perform that action at this time.
0 commit comments