From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 05:47:03 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56242705 for ; Sat, 5 Jul 2014 05:47:03 +0000 (UTC) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id D4E97288B for ; Sat, 5 Jul 2014 05:47:02 +0000 (UTC) Received: from ppp14-2-0-203.lns21.adl2.internode.on.net (HELO leader.local) ([14.2.0.203]) by ipmail04.adl6.internode.on.net with ESMTP; 05 Jul 2014 15:11:51 +0930 Message-ID: <53B7901F.3020909@ShaneWare.Biz> Date: Sat, 05 Jul 2014 15:11:51 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "Sam Fourman Jr." , Eduardo Morras Subject: Re: OpenCL under FreeBSD-10? References: <1404438060.76015.15.camel@btw.pki2.com> <20140705004936.86a175a89bd607eddb879eed@yahoo.es> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd general questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 05:47:03 -0000 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 wrote: > >> On Thu, 03 Jul 2014 18:41:00 -0700 >> Dennis Glatting 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