Skip to content

Instantly share code, notes, and snippets.

@vtjnash
Created June 21, 2014 23:37
Show Gist options
  • Save vtjnash/8cee2d1ce02d3416fba5 to your computer and use it in GitHub Desktop.
Save vtjnash/8cee2d1ce02d3416fba5 to your computer and use it in GitHub Desktop.
safe DLLInit openblas
--- xianyi-OpenBLAS-347dded/exports/gensymbol 2014-06-10 09:55:47.000000000 -0400
+++ openblas-v0.2.9/exports/gensymbol 2014-06-21 19:27:06.368557354 -0400
@@ -81,6 +81,8 @@
@misc_no_underscore_objs = (
goto_set_num_threads,
openblas_get_config,
+ gotoblas_init,
+ gotoblas_quit,
);
@misc_underscore_objs = (
--- xianyi-OpenBLAS-347dded/exports/dllinit.c 2014-06-10 09:55:47.000000000 -0400
+++ openblas-v0.2.9/exports/dllinit.c 2014-06-21 19:26:44.416558346 -0400
@@ -44,7 +44,7 @@
BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved) {
if (reason == DLL_PROCESS_ATTACH) {
- gotoblas_init();
+ //gotoblas_init();
}
if (reason == DLL_PROCESS_DETACH) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment