magma_dcsrset_gpu missing declaration

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

magma_dcsrset_gpu missing declaration

Postby honkeydonkey » Mon Jun 05, 2017 8:21 pm

Greetings,
I am evaluating MAGMA sparse (v 2.2.0) for an application where data (A, b, x) already exist on the device. I would like to use the magma_dcsrset_gpu(...) function but when compiling my app I find that this function can't be found. Looking in the install directory I see that the magmasparse_d.h has magma_dcsrset(...) declared but NOT magma_dcsrset_gpu(...). Looking in the downloaded version of the code I find that this problem is also in magma-2.2.0/sparse/include/magmasparse_d.h. If I add the correct signature for magma_dcrset_gpu(...) all is good --- application compiles and runs properly. The actual code is in magma-2.2.0/sparse/control/magma_dmcsrpass_gpu.cpp.

Is this missing declaration in magmasparse_d.h a bug or did I possibly make a mistake during install?
Thanks,
Tom
honkeydonkey
 
Posts: 2
Joined: Mon Jun 05, 2017 8:06 pm

Re: magma_dcsrset_gpu missing declaration

Postby hartwig anzt » Tue Jun 06, 2017 2:55 am

Thanks, Tom, for pointing this out!
I will make sure to fix it in the next release.
Thanks, Hartwig
hartwig anzt
 
Posts: 75
Joined: Tue Sep 02, 2014 5:44 pm

Re: magma_dcsrset_gpu missing declaration

Postby honkeydonkey » Tue Jun 06, 2017 9:42 am

Great. Thanks Hartwig.
Tom
honkeydonkey
 
Posts: 2
Joined: Mon Jun 05, 2017 8:06 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron