Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2017 14:37:09 -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:  <1b3fafb4-1f41-1ef0-dce5-3c97ccb39570@ertyu.org>
In-Reply-To: <y3rr-kvpx-wny@FreeBSD.org>
References:  <b18982c9-54ea-69c2-13d3-b507617cff60@ertyu.org> <y3rr-kvpx-wny@FreeBSD.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On 2017-07-14 8:13 AM, Jan Beich wrote:
> Steven Nikkel <steven_nikkel@ertyu.org> 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<char const*, 
std::__1::allocator<char const*> >::__push_back_slow_path<char const*> ()
    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 ?? ()



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1b3fafb4-1f41-1ef0-dce5-3c97ccb39570>