feat(ddprobe): allow to manually specify gpu preference (#3521)
This commit is contained in:
parent
9b9767be0c
commit
6a233cbcbf
8 changed files with 68 additions and 15 deletions
|
|
@ -69,6 +69,18 @@ const config = ref(props.config)
|
|||
:config="config"
|
||||
/>
|
||||
|
||||
<PlatformLayout :platform="platform">
|
||||
<template #windows>
|
||||
<!-- GPU Preference -->
|
||||
<div class="mb-3">
|
||||
<label for="gpu_preference" class="form-label">{{ $t('config.gpu_preference') }}</label>
|
||||
<input type="number" class="form-control" id="gpu_preference" placeholder="-1" min="-1"
|
||||
v-model="config.gpu_preference" />
|
||||
<div class="form-text">{{ $t('config.gpu_preference_desc') }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</PlatformLayout>
|
||||
|
||||
<DisplayOutputSelector
|
||||
:platform="platform"
|
||||
:config="config"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue