From 5c9f1ebbf98631fec260012543dffba39c110b58 Mon Sep 17 00:00:00 2001 From: Xianyi Zhang Date: Mon, 24 Jan 2011 16:04:17 +0000 Subject: [PATCH] Fixed a bug when compiling dynamic ARCH x86 in GotoBLAS2. --- driver/others/dynamic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/others/dynamic.c b/driver/others/dynamic.c index eef3db9..4e27717 100644 --- a/driver/others/dynamic.c +++ b/driver/others/dynamic.c @@ -198,9 +198,9 @@ void gotoblas_dynamic_init(void) { gotoblas = get_coretype(); #ifdef ARCH_X86 - if (gotoblas == NULL) gotoblas = gotoblas_KATMAI; + if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI; #else - if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT; + if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT; #endif if (gotoblas && gotoblas -> init) { -- 2.7.4