We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 002ebb7 commit 25218e6Copy full SHA for 25218e6
CMakeLists.txt
@@ -127,6 +127,7 @@ if(WIN32)
127
128
# find the onnxruntime DLL for packaging with the plugin DLL
129
set(Onnxruntime_DLL "${Onnxruntime_LIBRARY_DIR}/onnxruntime.dll")
130
+ set(DirectML_DLL "${CMAKE_BINARY_DIR}/nuget/Microsoft.AI.DirectML.1.4.2/bin/x64-win/DirectML.dll")
131
132
# Enable Multicore Builds and disable FH4 (to not depend on VCRUNTIME140_1.DLL when building with VS2019)
133
if (MSVC)
@@ -173,7 +174,7 @@ if(WIN32)
173
174
175
COMMAND if $<OR:$<CONFIG:Release>,$<CONFIG:RelWithDebInfo>>==1 (
176
"${CMAKE_COMMAND}" -E copy
- "${Onnxruntime_DLL}"
177
+ "${Onnxruntime_DLL}" "${DirectML_DLL}"
178
"${RELEASE_DIR}/obs-plugins/${ARCH_NAME}"
179
)
180
data/SINet_Softmax_simple.onnx
386 KB
0 commit comments