Open GoogleCodeExporter opened 9 years ago
Yao can you please investigate?
Original comment by harr...@gmail.com
on 11 Dec 2012 at 2:07
Sure, will take a look by this week.
I'm curious why (in what applications) a 2-equation system is of any interest.
If you really need performance in addition to correctness (which I hope I will
fix), I don't think this tridiagonal routine will perform well, because a
2-equation system will lead to low utilization of the GPU with only 1 thread
per block.
Original comment by zhangyao...@gmail.com
on 11 Dec 2012 at 5:15
Yes, you're right. I am not intending to use the tridiagonal solver for small
systems. My code uses a finite difference routine that starts with a small
linear eq. system and progressively refines the step size (number of equations
to solve increases) until the solution reaches the desired accuracy.
In fact, the code will branch between CPU/GPU execution depending on the size
of n. And I wanted to plot CPU vs GPU timings just to find out what will be
probably the sweet spot for doing so. That's how I find out about those NaN.
Original comment by omar.val...@gmail.com
on 12 Dec 2012 at 11:09
Original issue reported on code.google.com by
omar.val...@gmail.com
on 22 Nov 2012 at 2:42