Skip to content

Commit 60a3a58

Browse files
Copilotumireon
authored andcommitted
Fix CUDA option not appearing on Linux due to preprocessor macro typo (royshil#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 ca3803e commit 60a3a58

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
@@ -160,7 +160,7 @@ obs_properties_t *background_filter_properties(void *data)
160160
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_STRING);
161161

162162
obs_property_list_add_string(p_use_gpu, obs_module_text("CPU"), USEGPU_CPU);
163-
#ifdef HAVE_ONNXRUNTIME_CUDA_CP
163+
#ifdef HAVE_ONNXRUNTIME_CUDA_EP
164164
obs_property_list_add_string(p_use_gpu, obs_module_text("GPUCUDA"), USEGPU_CUDA);
165165
#endif
166166
#ifdef HAVE_ONNXRUNTIME_ROCM_EP

0 commit comments

Comments
 (0)