Date: Fri, 14 Jul 2017 19:21:21 -0500 From: Steven Nikkel <steven_nikkel@ertyu.org> To: Jan Beich <jbeich@FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: OpenCL Issues Message-ID: <fd9c60a2-aa42-d477-6ca0-a0e02274426d@ertyu.org> In-Reply-To: <o9sm-hawn-wny@FreeBSD.org> References: <b18982c9-54ea-69c2-13d3-b507617cff60@ertyu.org> <y3rr-kvpx-wny@FreeBSD.org> <1b3fafb4-1f41-1ef0-dce5-3c97ccb39570@ertyu.org> <o9sm-hawn-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-07-14 6:11 PM, Jan Beich wrote: > Steven Nikkel <steven_nikkel@ertyu.org> 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. Error building cl program on device 0 Error code -11, message: Program build failure Build log returned 624 bytes Build Log: stringInput.cl:56:17: warning: implicit declaration of function 'amd_byteal ... stringInput.cl:12:19: note: expanded from macro 'SWAP' stringInput.cl:56:17: error: function with no prototype cannot use the spir ... stringInput.cl:12:19: note: expanded from macro 'SWAP' stringInput.cl:58:12: warning: implicit declaration of function 'amd_bitali ... stringInput.cl:11:20: note: expanded from macro 'ROTL' stringInput.cl:58:12: error: function with no prototype cannot use the spir ... stringInput.cl:11:20: note: expanded from macro 'ROTL'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd9c60a2-aa42-d477-6ca0-a0e02274426d>