Get Segmentation fault when use culaSparseSetCudaPlatform

General CULA Sparse support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

Get Segmentation fault when use culaSparseSetCudaPlatform

Postby altria » Sun Apr 13, 2014 9:52 pm

Hi, everyone.
Every time I use culaSparseSetCudaPlatform, I get Segmentation fault.
But with the same code, use culaSparseSetHostPlatform will give me correct answer.

Hence I turn to examples.
In iterativeSystemSolve example. It can execute "host,no preconditioner,cg" and "host,ilu0,cg". But when it comes to "cg + ilu0 on cuda", i get Segmentation fault again.

Ubuntu 12.04
CUDA 6.0
Geforce 540M.

I am sure I have a CUDA device, for I ran deviceQuery example in CUDA and get output similar to the manul.
Could you please help me?
Posts: 1
Joined: Fri Apr 11, 2014 3:52 am

Re: Get Segmentation fault when use culaSparseSetCudaPlatfor

Postby blgolden » Sat Jul 05, 2014 10:21 am

works for me but I'm using csr and a Titan or k20,

if( dflag )
culaSparseCudaOptions platformOpts;
culaSparseCudaOptionsInit(handle, &platformOpts);
culaSparseSetCudaPlatform(handle, plan, &platformOpts);
Posts: 4
Joined: Wed Mar 24, 2010 8:42 am

Return to CULA Sparse Support

Who is online

Users browsing this forum: No registered users and 1 guest