Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jul 2014 15:11:51 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        "Sam Fourman Jr." <sfourman@gmail.com>, Eduardo Morras <emorrasg@yahoo.es>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: OpenCL under FreeBSD-10?
Message-ID:  <53B7901F.3020909@ShaneWare.Biz>
In-Reply-To: <CAOFF%2BZ3Sg78Oj=SgB0ncbBHC54X2U3rcK%2BQXWaZ%2BSvFY6WcEFw@mail.gmail.com>
References:  <1404438060.76015.15.camel@btw.pki2.com> <20140705004936.86a175a89bd607eddb879eed@yahoo.es> <CAOFF%2BZ3Sg78Oj=SgB0ncbBHC54X2U3rcK%2BQXWaZ%2BSvFY6WcEFw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/07/2014 08:31, Sam Fourman Jr. wrote:
> I am also interested in this..
> 
> 
> On Fri, Jul 4, 2014 at 5:49 PM, Eduardo Morras <emorrasg@yahoo.es> wrote:
> 
>> On Thu, 03 Jul 2014 18:41:00 -0700
>> Dennis Glatting <freebsd@pki2.com> wrote:
>>
>>> Is there a working version of OpenCL somewhere for FreeBSD10? freeocl
>>> is broken, badly.
>>
>> Googling a bit shows llvm libclc project that outputs PTX (Nvidia) code.
>> Clang+llvm is part of the system, don't know if this piece of llvm project
>> has been ported too.
>>
>> http://llvm.org
>>
>> http://libclc.llvm.org/

According to http://llvm.org/docs/doxygen/html/Triple_8h_source.html
llvm supports spir and spir64 for "standard portable IR for OpenCL"

Unfortunately we don't appear to have this enabled on freebsd.
>From a ports installed llvm - `llc33 --version`
(base installed llc is a shorter list of only supported host cpu's)

LLVM (http://llvm.org/):
  LLVM version 3.3
  Optimized build.
  Built Mar 21 2014 (05:38:50).
  Default target: amd64-portbld-freebsd9.2
  Host CPU: corei7-avx

  Registered Targets:
    aarch64  - AArch64
    arm      - ARM
    cpp      - C++ backend
    hexagon  - Hexagon
    mblaze   - MBlaze
    mips     - Mips
    mips64   - Mips64 [experimental]
    mips64el - Mips64el [experimental]
    mipsel   - Mipsel
    msp430   - MSP430 [experimental]
    nvptx    - NVIDIA PTX 32-bit
    nvptx64  - NVIDIA PTX 64-bit
    ppc32    - PowerPC 32
    ppc64    - PowerPC 64
    r600     - AMD GPUs HD2XXX-HD6XXX
    sparc    - Sparc
    sparcv9  - Sparc V9
    systemz  - SystemZ
    thumb    - Thumb
    x86      - 32-bit X86: Pentium-Pro and above
    x86-64   - 64-bit X86: EM64T and AMD64
    xcore    - XCore




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53B7901F.3020909>