Skip to content

Commit 22367cb

Browse files
Copilotumireon
andauthored
Fix CUDA option not appearing on Linux due to preprocessor macro typo (#713)
* Initial plan * Fix typo: HAVE_ONNXRUNTIME_CUDA_CP -> HAVE_ONNXRUNTIME_CUDA_EP Co-authored-by: umireon <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: umireon <[email protected]>
1 parent 1ce5693 commit 22367cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/background-filter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ obs_properties_t *background_filter_properties(void *data)
157157
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_STRING);
158158

159159
obs_property_list_add_string(p_use_gpu, obs_module_text("CPU"), USEGPU_CPU);
160-
#ifdef HAVE_ONNXRUNTIME_CUDA_CP
160+
#ifdef HAVE_ONNXRUNTIME_CUDA_EP
161161
obs_property_list_add_string(p_use_gpu, obs_module_text("GPUCUDA"), USEGPU_CUDA);
162162
#endif
163163
#ifdef HAVE_ONNXRUNTIME_ROCM_EP

0 commit comments

Comments
 (0)