News for hackers. Stuff that matters.
Re:AMD launches Kaveri processors aimed at starting a comput... by metrix on Tuesday January 14, 2014 @01:15PM (#7058646)
There is no OS level support, and there is nothing that rewrites existing libraries but I am hoping that programming languages themselves (Ruby, Python) get optimizations built in. An example would be hash lookups in Ruby: Why couldn't the GPU do this for us in certain use cases? You could see large performance increases for all apps written for the language with no code changes needed for thousands of developers.
Re:AMD launches Kaveri processors aimed at starting a comput... by Arelius on Tuesday January 14, 2014 @05:23PM (#7060225)
> An example would be hash lookups in Ruby

You mean for a hash table? I don't think you'll be seeing that any time soon. Hash computation will almost certainly be faster on the primary cpu then just the scheduling and waiting overhead. And then the GPU isn't particularly good at any pointer chasing required for the rest of the lookup.

Re:AMD launches Kaveri processors aimed at starting a comput... by metrix on Tuesday January 14, 2014 @05:49PM (#7060356)
Scheduling and waiting overhead? What waiting?
Re:AMD launches Kaveri processors aimed at starting a comput... by Arelius on Tuesday January 14, 2014 @08:14PM (#7061040)
I assumed that in most cases when you deal with a hash table you want some data returned. That's perhaps not true in the case of adding to the hash table, but if you don't need the result you can just add it to a queue, and do it in any old thread, since it's clearly not performance sensitive.