OpenCL Issues

Steven Nikkel steven_nikkel at ertyu.org
Fri Jul 14 19:37:13 UTC 2017



On 2017-07-14 8:13 AM, Jan Beich wrote:
> Steven Nikkel <steven_nikkel at 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 ?? ()


More information about the freebsd-questions mailing list