Get Segmentation fault when use culaSparseSetCudaPlatform
2 posts
• Page 1 of 1
Get Segmentation fault when use culaSparseSetCudaPlatform
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.
OS:
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?
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.
OS:
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?
- altria
- Posts: 1
- Joined: Fri Apr 11, 2014 3:52 am
Re: Get Segmentation fault when use culaSparseSetCudaPlatfor
works for me but I'm using csr and a Titan or k20,
if( dflag )
{
culaSparseCudaOptions platformOpts;
culaSparseCudaOptionsInit(handle, &platformOpts);
culaSparseSetCudaPlatform(handle, plan, &platformOpts);
...
if( dflag )
{
culaSparseCudaOptions platformOpts;
culaSparseCudaOptionsInit(handle, &platformOpts);
culaSparseSetCudaPlatform(handle, plan, &platformOpts);
...
- blgolden
- Posts: 4
- Joined: Wed Mar 24, 2010 8:42 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest