From owner-freebsd-performance@FreeBSD.ORG Mon Oct 24 10:25:10 2011 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD0731065670 for ; Mon, 24 Oct 2011 10:25:10 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 827238FC0C for ; Mon, 24 Oct 2011 10:25:10 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RIHiP-0000lk-Na for freebsd-performance@freebsd.org; Mon, 24 Oct 2011 12:25:09 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Oct 2011 12:25:09 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Oct 2011 12:25:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: Ivan Voras Date: Mon, 24 Oct 2011 12:21:32 +0200 Lines: 35 Message-ID: References: <4EA1117C.1000509@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig456CE17199D236E5E28118F3" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111004 Thunderbird/7.0.1 In-Reply-To: <4EA1117C.1000509@zedat.fu-berlin.de> X-Enigmail-Version: 1.1.2 Subject: Re: LLVM/CLANG and several OpenCL projects: FreeBSD or any *BSD developer involved? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2011 10:25:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig456CE17199D236E5E28118F3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 21/10/2011 08:30, Hartmann, O. wrote: > As I'm not a developer, but for scientific purposes highly interested i= n > using GPUs, the only way of doing HPC computing at the moment is with > nVidias TESLA/nVidia consumer graphics cards and LINUX, since on Linux > one willing to use the GPU has the necessary libraries, driver and > compilers. Drivers are still a big problem on FreeBSD. AFAIK neither NVIDIA nor ATI supply GPGPU-enabled drivers for FreeBSD. If this problem were solved, I think that most of other utilities would mostly "just work" using standard interfaces like OpenCL. --------------enig456CE17199D236E5E28118F3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6lPCwACgkQldnAQVacBchzsACg+Ic4Zwzh9JTgv16iX13PXvDU D8cAoO5pL75GGqU4fxV2eEQIIZx3b++8 =vn+p -----END PGP SIGNATURE----- --------------enig456CE17199D236E5E28118F3-- From owner-freebsd-performance@FreeBSD.ORG Mon Oct 24 10:44:22 2011 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F141106564A for ; Mon, 24 Oct 2011 10:44:22 +0000 (UTC) (envelope-from nec556@retena.com) Received: from resmaa12.ono.com (smtp12.ono.com [62.42.230.20]) by mx1.freebsd.org (Postfix) with ESMTP id D53418FC18 for ; Mon, 24 Oct 2011 10:44:21 +0000 (UTC) Received: from GogPortatil.retena.com (85.219.45.142) by resmaa12.ono.com (8.5.113) (authenticated as nec556@retena.com) id 4E5EF2B000E555C3 for freebsd-performance@freebsd.org; Mon, 24 Oct 2011 12:44:20 +0200 Message-ID: <4E5EF2B000E555C3@> (added by postmaster@resmaa12.ono.com) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 24 Oct 2011 12:44:19 +0200 To: freebsd-performance@freebsd.org From: Eduardo Morras In-Reply-To: References: <4EA1117C.1000509@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: AVG for E-mail 10.0.1411 [1522/3970] Subject: Re: LLVM/CLANG and several OpenCL projects: FreeBSD or any *BSD developer involved? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2011 10:44:22 -0000 At 12:21 24/10/2011, Ivan Voras wrote: >On 21/10/2011 08:30, Hartmann, O. wrote: > > As I'm not a developer, but for scientific purposes highly interested in > > using GPUs, the only way of doing HPC computing at the moment is with > > nVidias TESLA/nVidia consumer graphics cards and LINUX, since on Linux > > one willing to use the GPU has the necessary libraries, driver and > > compilers. > >Drivers are still a big problem on FreeBSD. AFAIK neither NVIDIA nor ATI >supply GPGPU-enabled drivers for FreeBSD. If this problem were solved, I >think that most of other utilities would mostly "just work" using >standard interfaces like OpenCL. Nvidia freebsd driver has cuda enabled. But you need the sdk to compiled c/cuda to lowlevel cuda/asm (don't remember name now) that driver executes on the gpu. Afaik nvidia freebsd driver hasn't opencl support but this knowledge comes from "i don't use (tm)" opencl, so i maybe wrong. The sdk works for Windows, Linux and MacOSX. ATI has retired ati-stream and ati-tometal languages and support opencl in windows and linux using a llvm private compiler. Some days ago, a llvm opencl opensource project started (ati's one is not opensource) http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/044266.html and https://launchpad.net/pocl From owner-freebsd-performance@FreeBSD.ORG Mon Oct 24 11:46:48 2011 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B95C106566C for ; Mon, 24 Oct 2011 11:46:48 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id EAE138FC0A for ; Mon, 24 Oct 2011 11:46:47 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-performance@freebsd.org with esmtp (envelope-from ) id <1RIIzP-00025K-02>; Mon, 24 Oct 2011 13:46:47 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-performance@freebsd.org with esmtpsa (envelope-from ) id <1RIIzO-0001gx-UH>; Mon, 24 Oct 2011 13:46:46 +0200 Message-ID: <4EA55026.7080609@zedat.fu-berlin.de> Date: Mon, 24 Oct 2011 13:46:46 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 CC: freebsd-performance@freebsd.org References: <4EA1117C.1000509@zedat.fu-berlin.de> <4E5EF2B000E555C3@> (added by postmaster@resmaa12.ono.com) In-Reply-To: <4E5EF2B000E555C3@> (added by postmaster@resmaa12.ono.com) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Subject: Re: LLVM/CLANG and several OpenCL projects: FreeBSD or any *BSD developer involved? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2011 11:46:48 -0000 On 10/24/11 12:44, Eduardo Morras wrote: > At 12:21 24/10/2011, Ivan Voras wrote: >> On 21/10/2011 08:30, Hartmann, O. wrote: >> > As I'm not a developer, but for scientific purposes highly >> interested in >> > using GPUs, the only way of doing HPC computing at the moment is with >> > nVidias TESLA/nVidia consumer graphics cards and LINUX, since on Linux >> > one willing to use the GPU has the necessary libraries, driver and >> > compilers. >> >> Drivers are still a big problem on FreeBSD. AFAIK neither NVIDIA nor ATI >> supply GPGPU-enabled drivers for FreeBSD. If this problem were solved, I >> think that most of other utilities would mostly "just work" using >> standard interfaces like OpenCL. > > Nvidia freebsd driver has cuda enabled. But you need the sdk to compiled > c/cuda to lowlevel cuda/asm (don't remember name now) that driver > executes on the gpu. Afaik nvidia freebsd driver hasn't opencl support > but this knowledge comes from "i don't use (tm)" opencl, so i maybe > wrong. The sdk works for Windows, Linux and MacOSX. ATI has retired > ati-stream and ati-tometal languages and support opencl in windows and > linux using a llvm private compiler. > > Some days ago, a llvm opencl opensource project started (ati's one is > not opensource) > > http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/044266.html and > https://launchpad.net/pocl > You need the OpenCL libraries and the nvcc compiler to run OpenCL code. nVidia doesn't provide any of them natively for FreeBSD. There is a "hack" for the 32bit Linuxulator capable of executing OpenCL/CUDA binaries, compiled within a 32bit compatible Linux environment utilizing the 32bit SDKs provided by nVidia, but the whole thing looks a bit messy, since I have never got a working solution and it seems more effort to me to install a complete working Linux environment. Having an open source solution would be great, but those projects are quite immature. I'd like to see some LLVM stuff with the nVidia PTX assembly backend also usable in FreeBSD, so there may be a chance getting a quite decent nVidia support and OpenCL working on FreeBSD with that. AMD is completely out of focus now. Once they promised "free" drivers but at the moment they seem more closed than nVidia.