!49727 修复win gpu环境下,conv2d执行闪退的问题

Merge pull request !49727 from wqx/conv_error_fix
This commit is contained in:
i-robot 2023-03-06 10:56:22 +00:00 committed by Gitee
commit 1dba3968fa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -41,5 +41,6 @@ if(ENABLE_GPU)
target_link_options(cuda_ops PRIVATE "-Wl,--allow-shlib-undefined")
else()
target_link_options(cuda_ops PRIVATE "/FORCE:UNRESOLVED")
target_link_libraries(cuda_ops mindspore_core)
endif()
endif()