From owner-freebsd-questions@freebsd.org Fri Jul 14 19:37:12 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 F3134DAAAD6 for ; Fri, 14 Jul 2017 19:37:12 +0000 (UTC) (envelope-from steven_nikkel@ertyu.org) Received: from vmx.ertyu.org (vmx.ertyu.org [IPv6:2001:19f0:5c00:944f:5400:ff:fe1a:d00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7984D7319F; Fri, 14 Jul 2017 19:37:12 +0000 (UTC) (envelope-from steven_nikkel@ertyu.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ertyu.org; s=standard; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ADXtWArJ81GHcFU3EdhNuWBAMFIDRb/XATTqfFzU8+w=; b=EzM3v7RqCgBGY72DrlNw2zuOX+ 5rws6Fshf1ii82SkWRLpyVF7LNOW/6CpSReVtnx+jlWOMv7WIgiUg447yFsejHS659KNGT6fEH3wX F2IcsWYGtuLNYktrfixO+6pOcp6NepZ5U+qL1ttQKa7F85Ua2Hu9QO/A+rhE/2I8rBu2INThlE3bZ txhHrRg/v8GcfO8fyPt/qYMpQx1aVT8w7nucVlPHyzBslvnJwxbXOdWf4ZRgLFm4Ojnm8qGCNeEuZ UOHXzGl4AtSkiy/DAlAH8zxQuaa2AmkmoQgLCMivJivKJaChpUb0YTXadcnE3gb0XKgZFAPwCVcDV 32KlZE1w==; Subject: Re: OpenCL Issues To: Jan Beich Cc: freebsd-questions@freebsd.org References: From: Steven Nikkel Message-ID: <1b3fafb4-1f41-1ef0-dce5-3c97ccb39570@ertyu.org> Date: Fri, 14 Jul 2017 14:37:09 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Fri, 14 Jul 2017 19:37:13 -0000 On 2017-07-14 8:13 AM, Jan Beich wrote: > Steven Nikkel writes: > > 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. Second host where I was testing against pocl has some other issue: # clinfo Number of platforms 1 Platform Name Portable Computing Language Platform Vendor The pocl project Platform Version OpenCL 2.0 pocl 0.14, LLVM 4.0.1 Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd Platform Extensions function suffix POCL Segmentation fault (core dumped) #0 0x0000000802d25075 in hwloc_topology_set_userdata_import_callback () from /usr/local/lib/libhwloc.so.5 #1 0x0000000802d24f2d in hwloc_topology_set_userdata_import_callback () from /usr/local/lib/libhwloc.so.5 #2 0x0000000802d24a77 in hwloc_topology_set_userdata_import_callback () from /usr/local/lib/libhwloc.so.5 #3 0x0000000802d0b95b in hwloc_topology_load () from /usr/local/lib/libhwloc.so.5 #4 0x0000000801722913 in pocl_cpuinfo_detect_compute_unit_count () from /usr/local/lib/libpocl.so.1.7.0 #5 0x000000080171e8dc in pocl_cpuinfo_detect_compute_unit_count () from /usr/local/lib/libpocl.so.1.7.0 #6 0x00000008017193e3 in std::__1::vector >::__push_back_slow_path () from /usr/local/lib/libpocl.so.1.7.0 #7 0x00000008016f1fb4 in ?? () from /usr/local/lib/libpocl.so.1.7.0 #8 0x0000000800837a4a in clGetDeviceIDs () from /usr/local/lib/libOpenCL.so.1 #9 0x0000000000401fb9 in ?? () #10 0x0000000000409867 in ?? () #11 0x000000000040151f in ?? () #12 0x0000000800632000 in ?? () #13 0x0000000000000000 in ?? ()