From owner-freebsd-questions@freebsd.org Mon Jul 17 06:53:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B69DDCFE344 for ; Mon, 17 Jul 2017 06:53:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9681575BF6; Mon, 17 Jul 2017 06:53:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id DD34F10BE9; Mon, 17 Jul 2017 06:53:35 +0000 (UTC) From: Jan Beich To: Steven Nikkel Cc: freebsd-questions@freebsd.org Subject: Re: OpenCL Issues References: <1b3fafb4-1f41-1ef0-dce5-3c97ccb39570@ertyu.org> Date: Mon, 17 Jul 2017 08:53:30 +0200 Message-ID: <8tjn-v9jp-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 06:53:36 -0000 Steven Nikkel writes: > On 2017-07-14 6:11 PM, Jan Beich wrote: > >> Steven Nikkel writes: >> >>> On 2017-07-14 8:13 AM, Jan Beich wrote: >>>> See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217635 >>>> >>> >>> Thanks, work around from the bug report solves my issue with beignet >>> and I can successfully use OpenCL on that host. >> ^^^^^^^^^^^ >> >> Awesome! I'd like to update the port to a snapshot to pick up the fix in >> question upstream, LLVM 4.0 support, more optimizations and catch >> regressions early. Can you give it a try? >> >> https://reviews.freebsd.org/D11377 (see Download Raw Diff) >> > > The update builds and installs. It runs clinfo fine, but I'm getting > errors in my CL app, looks like it can't find the cl_amd_media_ops > extension. Not sure where that error comes from as it's fine in the > 1.3.1 from the existing port. What does clinfo show? Is cl_amd_media_ops listed in among extensions? Can you try building against LLVM 3.9 (MESA_LLVM_VER=39) or LLVM 5.0 (MESA_LLVM_VER=-devel) via lang/beignet/Makefile.local? Can you post a link to the source, assuming it's an open project? I can't reproduce and not familar enough with OpenCL to guess. Maybe bisect.