This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown


Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been reading up on GPGPU for some time now and I was wondering if only arithmetic operations work on the GPU for parallel processing or can any thread work on it? For example: if I had many threads that contained code for player updating that I wanted to parallelize, would it work on the GPU or no?
Java Cowboy
Posts: 16084
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The GPU is a specialized processor, so it can't do anything that a general processor like a CPU can do. Also, it works best for computation jobs where you want to do the exact same procesing on a whole collection of data (SIMD = Single Instruction, Multiple Data processing). It's also only really suitable where most of the work consists of doing computations, and not for things where for example I/O is the bottleneck.

Whether what you want to do with it is suitable for doing on a GPU is hard to say, it depends on what exactly you want to do.
Hug your destiny! And hug this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic