Running asynchronously

General CULA Dense (LAPACK & BLAS) support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

Running asynchronously

Postby doug25 » Fri Jul 12, 2013 12:25 pm

Is it possible to launch/run a CULA routine asynchronously?

I need to find the eigenvalues & eigenvectors for many small matrices. I'm using culaDeviceSsyev(). This CPU/GPU process is taking twice as long as a CPU-only routine.

Having to launch the process from the CPU kills the concurrency of the larger process. The matrix data is generated by an asynchronous running stream in the GPU. Having to synchronous the CPU with the GPU is expensive.

I'm not seeing a way to launch & run CULA from a GPU stream at all. (Is there one?)
Is there a way to speed up Ssyev for small matrices (3x3,4x4,5x5)?
Posts: 2
Joined: Sat Apr 13, 2013 10:55 am

Re: Running asynchronously

Postby john » Fri Jul 12, 2013 12:35 pm

I'm afraid that CULA is not designed for batch operations on small matrices; there are several threads you can search here to find more details. We could do these on a custom basis, but be advised that we've found that the matrix count should be in the millions before there is any payoff versus a CPU.
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Return to CULA Dense Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests