magma_zgetri_gpu segfaults in OpenMP parallel for

Open discussion for MAGMA

Re: magma_zgetri_gpu segfaults in OpenMP parallel for

Postby mgates3 » Tue Jun 12, 2012 12:19 pm

Not yet. We're aware of the issue, but it will take a while to upgrade all the functions to use CUBLAS v2, which has better stream support for thread safety.
-mark
mgates3
 
Posts: 388
Joined: Fri Jan 06, 2012 2:13 pm

Re: magma_zgetri_gpu segfaults in OpenMP parallel for

Postby jeremiahpalmer » Tue Jun 12, 2012 12:23 pm

Thanks for the update. I'd be happy to help in alpha or beta testing, if needed. :)
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: magma_zgetri_gpu segfaults in OpenMP parallel for

Postby jeremiahpalmer » Tue Jun 19, 2012 5:01 pm

I applied the fix Stan mentioned in http://icl.cs.utk.edu/magma/forum/viewtopic.php?f=2&t=520:

Also, there was a bug in file interface_cuda/alloc.cpp. Function magma_free_host should free memory with cudaFreeHost (instead of using cudaFree).


Now, my OpenMP parallel calls to magma_zgesv seem to be working properly.
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: magma_zgetri_gpu segfaults in OpenMP parallel for

Postby jeremiahpalmer » Mon Aug 06, 2012 12:52 pm

Any time frame for when all of the functions will use CUBLAS v2, as Mark mentioned?

Not yet. We're aware of the issue, but it will take a while to upgrade all the functions to use CUBLAS v2, which has better stream support for thread safety.
-mark
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: magma_zgetri_gpu segfaults in OpenMP parallel for

Postby mgates3 » Wed Aug 08, 2012 5:52 pm

I think this will be a goal for the fall, but don't have a specific deadline. It will help with porting MAGMA code to OpenCL, so that the two codes use a queue / stream in the same ways. There are some CUDA synchronization issues to deal with, though.
-mark
mgates3
 
Posts: 388
Joined: Fri Jan 06, 2012 2:13 pm

Previous

Return to User discussion

Who is online

Users browsing this forum: No registered users and 3 guests