[Mesa-dev] Question regarding cs_gem_write_reloc in radeon_cs_gem.c

Miguel Ramos mail at miguel.ramos.name
Fri Jun 15 08:18:04 PDT 2012


2012/6/15 Tom Stellard <thomas.stellard at amd.com>:
> On Fri, Jun 15, 2012 at 02:15:34PM +0100, Miguel Lopes Santos Ramos wrote:
>> Hi all,
>>
>> I'm trying to learn to program radeons in assembly in Linux and
>> already got help once in this mailing list.
>>
>> I'm programming in C++ using the kernel DRM ioctls directly because
>> libdrm appears to be a thin wrapper around these (for my purpose,
>> which is using the GPU for computing), but in doing so, I need to
>> understand what libdrm is doing.
>>
>
> r600g has preliminary support for OpenCL programs using the clover state
> tracker [1].  If you are interested in using the GPU for computing I
> would recommend using clover or writing your own state tracker to take
> advantage of the compute code that already exists in r600g.
>
> -Tom
>
> [1] http://dri.freedesktop.org/wiki/GalliumCompute

Thanks, that will certainly save me many, many days.

-- 
Miguel Ramos
PGP A006A14C


More information about the mesa-dev mailing list