From: Chris Wilson <chris@chris-wilson.co.uk>
To: Gregory Diamos <Gregory.Diamos@gatech.edu>,
intel-gfx@lists.freedesktop.org
Subject: Re: CUDA port for intel graphics
Date: Wed, 23 Jun 2010 09:40:41 +0100 [thread overview]
Message-ID: <89khjo$fosqgf@orsmga002.jf.intel.com> (raw)
In-Reply-To: <4C21B45F.8040204@mail.gatech.edu>
Hi Gregory,
I think most of your questions can be answered by reading the [interface]
design document for GEM - the Graphics Execution Manager.
http://lwn.net/Articles/283798/
That will give you a better idea of the separation of the execution and
memory management which is performed by the kernel and how it is
controlled by userspace. All userspace clients are [more or less] equal
and submit batch buffers to the kernel to be scheduled for execution. Each
batch is a list of buffers [your textures, command streams, vertex buffers
etc] which the kernel then maps into the graphics aperture and performs
relocations upon the command streams. As such the GPU is then shared
between multiple independent clients. If you want to perform a privileged
operation such as modifying the ring buffer or registers prior to the
execution of your batch, you will need to extend the GEM interface to
allow you to do so.
Hope this helps, and you have a lot of fun programming with the GPU
directly.
--
Chris Wilson, Intel Open Source Technology Centre
next prev parent reply other threads:[~2010-06-23 8:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-23 7:14 CUDA port for intel graphics Gregory Diamos
2010-06-23 8:40 ` Chris Wilson [this message]
2010-06-23 15:32 ` Keith Packard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='89khjo$fosqgf@orsmga002.jf.intel.com' \
--to=chris@chris-wilson.co.uk \
--cc=Gregory.Diamos@gatech.edu \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.