mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* GPU scheduling
@ 2009-03-13  4:02 Peter Teoh
  2009-03-13  5:10 ` Jaswinder Singh Rajput
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Teoh @ 2009-03-13  4:02 UTC (permalink / raw)
  To: LKML

Firstly I am a newbie in this area of GPU.   Does it make sense to
talk about scheduling tasks on the GPU?   Not the graphics processing
types of tasks, nor the parallel matrix calculation types, but those
normally executed by CPU, so as to share workload along with the CPU?

I supposed the machine codes will be different, right?   But if the
compiler can generate the opcodes for the GPU, and the GPU and CPU can
detect concurrent use of memory bus address (for the implementation of
spinlock - CPU/GPU synchronization), which is synonymous to GPU and
CPU accessing the same memory for data/instructions, then I don't see
there is any problem with the "GPU scheduler" implementation concept,
right?   Or perhaps the hardware does not meet all these requirements?
  Or any other problems which u can forsee?   (eg, GPU being
prorietary, the opcodes may not be revealed/available, and therefore
the internal schedulers is not known to us as well?)

Just an idea.   But searching for "GPU scheduling" on Google does
reveal a number of articles - but targetted at the Windows platform.
 One particular looks similar to the present idea:
http://portal.acm.org/citation.cfm?id=1444484, but I have no access to
read it.





-- 
Regards,
Peter Teoh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GPU scheduling
  2009-03-13  4:02 GPU scheduling Peter Teoh
@ 2009-03-13  5:10 ` Jaswinder Singh Rajput
  0 siblings, 0 replies; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-03-13  5:10 UTC (permalink / raw)
  To: Peter Teoh; +Cc: LKML

On Fri, 2009-03-13 at 12:02 +0800, Peter Teoh wrote:
> Firstly I am a newbie in this area of GPU.   Does it make sense to
> talk about scheduling tasks on the GPU?   Not the graphics processing
> types of tasks, nor the parallel matrix calculation types, but those
> normally executed by CPU, so as to share workload along with the CPU?
> 
> I supposed the machine codes will be different, right?   But if the
> compiler can generate the opcodes for the GPU, and the GPU and CPU can
> detect concurrent use of memory bus address (for the implementation of
> spinlock - CPU/GPU synchronization), which is synonymous to GPU and
> CPU accessing the same memory for data/instructions, then I don't see
> there is any problem with the "GPU scheduler" implementation concept,
> right?   Or perhaps the hardware does not meet all these requirements?
>   Or any other problems which u can forsee?   (eg, GPU being
> prorietary, the opcodes may not be revealed/available, and therefore
> the internal schedulers is not known to us as well?)

Major issue is almost all GPUs are proprietary and they only provide
libraries for users and do not disclose internals.

And now latest GPUs are running blind race with having thousands of
cores.

--
JSR


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-13  5:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-13  4:02 GPU scheduling Peter Teoh
2009-03-13  5:10 ` Jaswinder Singh Rajput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®