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
magma_dcsrset_gpu missing declaration
-
hartwig anzt
- Posts: 90
- Joined: Tue Sep 02, 2014 5:44 pm
Re: magma_dcsrset_gpu missing declaration
Thanks, Tom, for pointing this out!
I will make sure to fix it in the next release.
Thanks, Hartwig
I will make sure to fix it in the next release.
Thanks, Hartwig
-
honkeydonkey
- Posts: 2
- Joined: Mon Jun 05, 2017 8:06 pm
Re: magma_dcsrset_gpu missing declaration
Great. Thanks Hartwig.
Tom
Tom