Commit 142576a961b6e8ba53b38dd43a50a918d3729a06

Con Kolivas 2011-06-30T20:50:52

We already have gpu/cpu from id, so use that. Likely the current convoluted code is wrong and leading to segfaults!