this post was submitted on 16 Mar 2024
52 points (90.6% liked)

Technology

59152 readers
2212 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Does anyone know more about this? Sounds like distributing tasks to other processors that are not really designed for the job? Articles are making it out to be a miracle and not sure whether to believe it

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 25 points 7 months ago* (last edited 7 months ago) (1 children)

Msn article links a press release which links the paper: https://dl.acm.org/doi/10.1145/3613424.3614285

The idea seems to be if your computer has several kinds of hardware accelerators, there is a systematic way to use them simultaneously. I only read the beginning but it's hard to see a big breakthrough.

[–] [email protected] 19 points 7 months ago (1 children)

Yeah, they're basically talking about a virtual machine (they call it a "framework" but it sounds more in line with the JVM or the .Net CLR) that can automatically offload work to GPUs and tensor cores and the like.

Programs would basically compile to a kind of bytecode that describes what calculations need to be done and the data dependencies between them, and then it's up to the runtime to decide how to schedule that on available hardware, while compensating for differences, e.g. in supported precision for floating point math.

They're quoting like 4x speedups but their benchmarks are all things that already have efficient GPGPU implementations, mainly signal processing and computer vision, so the computation is already highly parallelized.

I could see this being useful for that kind of Big Data processing where you have a ton of stuff to churn through and want to get the most bang for your buck on cloud hardware. It helps that that kind of processing is already coded at a pretty high level, where you just lay out the operations you want done and the system handles the rest. This runtime would be a great target for that.

I don't really see this revolutionizing computing on a grand scale, though. Most day to day workloads (consumer software and even most business applications like web servers) are not CPU bound anyway. I guess memory bound workloads could benefit from being offloaded to a GPU but those aren't all that common either.

[–] [email protected] 9 points 7 months ago (1 children)

Also, it's not even a novel idea.

OpenMP has been around for over 20 years, it's just a lot less "magical".

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

macOS has been doing something similar for years with something Apple calls Grand General Dispatch

[–] [email protected] -2 points 7 months ago

I'll believe it when I will see Linux ported to the shader language.