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.
magma-1.4.0-beta2 bug report in dgetrf_m.cpp...
Re: magma-1.4.0-beta2 bug report in dgetrf_m.cpp...
Yes, we've fixed these. Thanks.
-mark
-mark