From owner-freebsd-current@FreeBSD.ORG Sun Nov 2 11:53:32 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43B5F842; Sun, 2 Nov 2014 11:53:32 +0000 (UTC) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02B99C3B; Sun, 2 Nov 2014 11:53:31 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id v63so4225200oia.9 for ; Sun, 02 Nov 2014 03:53:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mMpmOeA09DdqZvB//u5BI4CkgqGabRG/78wbOVnpmhE=; b=mW6nVGGbhCByyPKNo1fph2nVtx16AoGFnxiwO9HQIrfW6VwPCfX742qjKi6jhRGUq2 PZkf3sd+Lzln/xSvPqv8iPidoU93xR60Lc04KxM/rulIKO+RvkgjFMGd/x3mjGGtqpBb C+8jCJ2TSHn+TdJWBYRBnWaq1N9T0hHLGKtIerHw//gIYLmv0akxZCC4pNIxLWdeWl01 gR8aUyAuJPfkpvEyYliXW4b6ysZrRH0joRxE5qcv7ngRBKo2H/g+V5q+km0R4yKLtMwg 0qRSgUa2UgxKylPBXQrAxJjwZpySYzOLXSS3L7c7cNU+eEHZHoqiC7GHWbgvvkShoa2b xpjQ== MIME-Version: 1.0 X-Received: by 10.202.178.131 with SMTP id b125mr1108936oif.72.1414929211003; Sun, 02 Nov 2014 03:53:31 -0800 (PST) Received: by 10.202.228.65 with HTTP; Sun, 2 Nov 2014 03:53:30 -0800 (PST) In-Reply-To: <5456069F.702@FreeBSD.org> References: <2074770725.140543.1414773975682.JavaMail.yahoo@jws10681.mail.bf1.yahoo.com> <5456069F.702@FreeBSD.org> Date: Sun, 2 Nov 2014 12:53:30 +0100 Message-ID: Subject: Re: NVidia Tesla K40 From: Johannes Dieterich To: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 11:53:32 -0000 Dear Jean-Sebastien, just to chime in on one aspect I care about: On Sun, Nov 2, 2014 at 11:25 AM, Jean-S=C3=A9bastien P=C3=A9dron wrote: > On 31.10.2014 17:46, John Dison wrote: > > Hello! > > Hi! > > > I want to use NVidia Tesla K40 GPU for parallel computing.Does > > FreeBSD support such a hardware? > > As O. Hartmann explained, we don't support GPGPU on NVIDIA hardware, > neither with the binary driver because NVIDIA doesn't provide any > libOpenCL.so for FreeBSD, nor with the FOSS driver because we don't have > the kernel video driver. > > On the AMD front, GPGPU works with the open-source stack (libclc and > Clover, Mesa's libOpenCL.so), but the Clover port isn't committed yet. > We didn't have the time to polish it so far (only libclc is available in > devel/libclc). > > Note that Clover is still a WIP. Here's a matrix of implemented and > missing features: > http://dri.freedesktop.org/wiki/GalliumCompute/ > > When I tried it with simple programs found on the Net, it worked. > However, I couldn't use it with graphics/darktable: > 1) Currently, the amount of memory reported by Clover is hard-coded > 2) darktable expects features not implemented > IMHO, a very good and relevant test is clBLAS ( https://github.com/clMathLibraries/clBLAS ). Anything HPC will require these functions to work properly and (albeit computationally demanding) they are well controllable for benchmarks (in terms of setup and memory dimensioning). Coming from a HPC background, the next step would be something like MAGMA ( http://icl.cs.utk.edu/magma/software/index.html ) which uses clBLAS and adds some LAPACK-style functionality to it. Again, well controllable and computationally challenging. I am happy to act as tester, btw. Looking forward to this landing in BSD, thanks so much for your and all of the graphics teams work! Johannes