Results 1 to 10 of 13

Thread: AMD RadeonSI Driver Officially Gets Compute Support

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    15,705

    Default AMD RadeonSI Driver Officially Gets Compute Support

    Phoronix: AMD RadeonSI Driver Officially Gets Compute Support

    AMD's open-source "RadeonSI" Gallium3D driver for the Radeon HD 7000 series graphics cards and newer now has early compute/GPGPU support...

    http://www.phoronix.com/vr.php?view=MTM0NDQ

  2. #2
    Join Date
    Jun 2009
    Posts
    1,191

    Default

    nice i just got my MSI 7770 all nighter compiling

  3. #3
    Join Date
    Nov 2011
    Posts
    306

    Default

    Quote Originally Posted by jrch2k8 View Post
    nice i just got my MSI 7770 all nighter compiling
    Shouldn't take that long, unless you have to build LLVM as well.
    (make -j1 for mesa 8 /radeon gallium3d was ~1hr on a 1.6 GHz Neo, IIRC)

  4. #4
    Join Date
    Jul 2008
    Location
    Berlin, Germany
    Posts
    858

    Default

    Quote Originally Posted by Ibidem View Post
    Shouldn't take that long, unless you have to build LLVM as well.
    In order to get radeonsi compute support, you need to build LLVM from svn with R600 target. Along with some other things like libclc.

  5. #5
    Join Date
    Oct 2012
    Location
    Washington State
    Posts
    527

    Default

    Quote Originally Posted by chithanh View Post
    In order to get radeonsi compute support, you need to build LLVM from svn with R600 target. Along with some other things like libclc.
    Last I checked, libclc is being dropped for direct NVPTX proper seeing as the present lbclc target with the native OpenCL in Clang is for the Nvidia PTX Target, hence the NVPTX target that is on by default.

    At any rate, with an AMD 8350 and 32GB of RAM LLVM/Clang/libc++/compiler-rt/lldb/clang-extra/test-suite/ and enabling the LLVM and Clang Examples builds in around 10 minutes via make -j9, and that includes inserting the R600 under the Experimental Target CMAKE flag.

    Get that built and I you'll probably be spending the bulk of your time fiddling with Mesa config issues.

  6. #6
    Join Date
    Sep 2010
    Posts
    734

    Default

    "The open-source Radeon Gallium3D compute support isn't too good yet, namely implemented through OpenCL"

    Anyone can rephrase it so that I can understand it?

  7. #7
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    1,052

    Default

    Quote Originally Posted by Marc Driftmeyer View Post
    Last I checked, libclc is being dropped for direct NVPTX proper seeing as the present lbclc target with the native OpenCL in Clang is for the Nvidia PTX Target, hence the NVPTX target that is on by default.
    Last time I checked mesa's configure said that libclc was required.

    It has a target named "r600--" I think this is needed.
    I tried that one http://llvm.org/svn/llvm-project/libclc/trunk (as opposed to git://people.freedesktop.org/~tstellar/libclc, not sure if it is up to date) (you can look at this patch for configure.py that adds a bit of standard functionality for configure/make but it's badly formatted: http://marc.info/?l=mesa3d-dev&m=135423641422147)

    Mesa at least compiles with --enable-opencl and for some reason is 166 Megabyte smaller than 1 or 2 days ago without --enable-opencl. Let's see if it works.

    Edit: Well, X doesn't start when I have radeon enabled (I have a hybrid one with intel):
    Code:
    X: Threading.cpp:28: bool llvm::llvm_start_multithreaded(): Assertion `!multithreaded_mode && "Already multithreaded!"' failed.
    Last edited by ChrisXY; 04-06-2013 at 07:45 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •