Electronics > Microcontrollers
LTspice why not GPU accelerate
Harvs:
I know this isn't a embedded question, but clearly we have a broad mix of people in here.
So listening to the Amp hour the other day with Mike Engelhardt talking about the optimisations done on LTspice, interesting episode.
Having spent about a year doing all this horrendous math by hand in power systems classes (which from what I can gather is very similar, large systems of nonlinear equations solved with a Jacobian), I would have thought this would have been just the sort of thing that a GPU could be used to accelerate.
I'm sure this isn't the case otherwise Mike and his team would have been onto it (as their seems to be a very strong motivation). But I'm left wondering why not?
senso:
Would you rather code for Nvidia or ATI?
CUDA code is non portable to any other brand unless NVIDIA, and not all the cards have the same capabilities.
Multi-thread the heck of it, abuse SIMD extensions, almost everybody as at least a dual core x86, lots of laptops don't even have dedicated graphics..
ovnr:
Well, OpenCL runs on both AMD and Nvidia cards, and will fall back to CPU emulation (still pretty fast) if no compatible GPUs are present. It ought to run on other, more exotic hardware too, like the Xeon Phi.
That being said, I'm not entirely sure the problem domain solved in LTspice is easy to port to a typical heterogenous computing architecture, but I'd be happy to be proved wrong.
miguelvp:
Furthermore Open CL runs on some Altera FPGA dev boards. So who is starting the OpenCL LTSpice effort?
Don't look at me, too busy and happy with my PC based LTSpice :)
Harvs:
--- Quote from: senso on May 08, 2014, 01:06:50 am ---Would you rather code for Nvidia or ATI?
CUDA code is non portable to any other brand unless NVIDIA, and not all the cards have the same capabilities.
Multi-thread the heck of it, abuse SIMD extensions, almost everybody as at least a dual core x86, lots of laptops don't even have dedicated graphics..
--- End quote ---
I'm aware of this. However the whole motivation for the fast LTspice solver is for LT's chip designers, not your typical engineer that simply doesn't need the speed. Mike talks about him benchmarking and selecting a high end PC build for the chip designers. So if they made it support just Cuda, and fall back to CPU without GPU acceleration, then that would work since those that actually need the performance are having their PCs custom built specifically for the job anyway.
Navigation
[0] Message Index
[#] Next page
Go to full version