mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
Put back Linux hack, it is necessary
This commit is contained in:
parent
3dfec5a339
commit
85e5fddd2a
1 changed files with 2 additions and 3 deletions
|
|
@ -951,10 +951,9 @@ struct ProviderLibrary {
|
|||
};
|
||||
|
||||
static ProviderLibrary s_library_cuda(LIBRARY_PREFIX "onnxruntime_providers_cuda" LIBRARY_EXTENSION
|
||||
#if 0
|
||||
#ifndef _WIN32
|
||||
,false /* unload - On Linux if we unload the cuda shared provider we crash */
|
||||
#endif
|
||||
,
|
||||
false /* unload - On Linux if we unload the cuda shared provider we crash */
|
||||
#endif
|
||||
);
|
||||
static ProviderLibrary s_library_dnnl(LIBRARY_PREFIX "onnxruntime_providers_dnnl" LIBRARY_EXTENSION);
|
||||
|
|
|
|||
Loading…
Reference in a new issue