magma-1.4.0-beta2 bug report in dgetrf_m.cpp...

Open discussion for MAGMA

magma-1.4.0-beta2 bug report in dgetrf_m.cpp...

Postby waitzman » Tue Aug 06, 2013 1:20 pm

In magma-1.4.0-beta2 there are some used before set compilation warnings that seem actually wrong:
zgetrf_m.cpp(125): warning #592: variable "num_gpus" is used before its value is set
cgetrf_m.cpp(125): warning #592: variable "num_gpus" is used before its value is set
dgetrf_m.cpp(125): warning #592: variable "num_gpus" is used before its value is set
sgetrf_m.cpp(125): warning #592: variable "num_gpus" is used before its value is set

For the above functions, perhaps the fix is to set num_gpus as follows:
num_gpus = magma_num_gpus();

testing_zhetrd_he2hb.cpp(237): warning #592: variable "vl" is used before its value is set
testing_zhetrd_he2hb.cpp(237): warning #592: variable "vu" is used before its value is set
testing_chetrd_he2hb.cpp(237): warning #592: variable "vl" is used before its value is set
testing_chetrd_he2hb.cpp(237): warning #592: variable "vu" is used before its value is set
testing_dsytrd_sy2sb.cpp(237): warning #592: variable "vl" is used before its value is set
testing_dsytrd_sy2sb.cpp(237): warning #592: variable "vu" is used before its value is set
testing_ssytrd_sy2sb.cpp(237): warning #592: variable "vl" is used before its value is set
testing_ssytrd_sy2sb.cpp(237): warning #592: variable "vu" is used before its value is set

I didn't figure out the fix for the functions.
waitzman
 
Posts: 3
Joined: Wed Jul 17, 2013 2:22 pm

Re: magma-1.4.0-beta2 bug report in dgetrf_m.cpp...

Postby mgates3 » Fri Aug 09, 2013 12:56 pm

Yes, we've fixed these. Thanks.
-mark
mgates3
 
Posts: 399
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: Bing [Bot] and 2 guests