Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-18 Thread Rebecca N. Palmer
That looks like abi::__cxa_demangle is sometimes failing completely
(and possibly inconsistently, given that it's failing on a different
symbol this time).  Given that it only happens on FreeBSD, possibly
a libc++ (LLVM) vs libstdc++ (GCC) issue??

___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-18 Thread Igor Pavlov
> possibly a name demangling problem?
> To find out, try this

The result is:


platform number 1
platform_profile "FULL_PROFILE"
platform_name "Intel Gen OCL Driver"
platform_vendor "Intel"
platform_version "OpenCL 1.2 beignet 1.2"
platform_extensions "cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd
cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups"
Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (3, 7, 5)
See README.md or http://www.freedesktop.org/wiki/Software/Beignet/
Beignet: Warning - overriding self-test failure
device_profile "FULL_PROFILE"
device_name "Intel(R) HD Graphics Haswell GT1 Server"
device_vendor "Intel"
device_version "OpenCL 1.2 beignet 1.2"
device_extensions "cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd
cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups"
device_opencl_c_version "OpenCL C 1.2 beignet 1.2"
23 image formats are supported
[CL_R CL_UNORM_INT8]
[CL_R CL_UNORM_INT16]
[CL_R CL_SIGNED_INT8]
[CL_R CL_SIGNED_INT16]
[CL_R CL_SIGNED_INT32]
[CL_R CL_UNSIGNED_INT8]
[CL_R CL_UNSIGNED_INT16]
[CL_R CL_UNSIGNED_INT32]
[CL_R CL_HALF_FLOAT]
[CL_R CL_FLOAT]
[CL_RG CL_UNORM_INT8]
[CL_RG CL_UNSIGNED_INT8]
[CL_RGBA CL_UNORM_INT8]
[CL_RGBA CL_UNORM_INT16]
[CL_RGBA CL_SIGNED_INT8]
[CL_RGBA CL_SIGNED_INT16]
[CL_RGBA CL_SIGNED_INT32]
[CL_RGBA CL_UNSIGNED_INT8]
[CL_RGBA CL_UNSIGNED_INT16]
[CL_RGBA CL_UNSIGNED_INT32]
[CL_RGBA CL_HALF_FLOAT]
[CL_RGBA CL_FLOAT]
[CL_BGRA CL_UNORM_INT8]
builtin_kernel_block_motion_estimate_intel()[SUCCESS]
runtime_climage_from_boname() Can't open Display, skipping.
[SUCCESS]
compiler_overflow_add_ulong4()[SUCCESS]
compiler_overflow_add_uint4()[SUCCESS]
compiler_overflow_add_ushort4()[SUCCESS]
compiler_overflow_add_uchar4()[SUCCESS]
compiler_overflow_sub_uint4()[SUCCESS]
compiler_bsort()[SUCCESS]
compiler_math_3op_float()[SUCCESS]
compiler_math_3op_half()No cl_khr_fp16, Skip![SUCCESS]
compiler_mix()Unresolved symbol: _Z13__gen_ocl_lrpfff   8
Aborting...
Unresolved symbol: _Z13__gen_ocl_lrpfff   8
Aborting...
[FAILED]
Error: error calling clBuildProgram with error CL_BUILD_PROGRAM_FAILURE

  at file
/usr/ports/lang/beignet/work/Beignet-1.2.0-Source/utests/utest_helper.cpp,
function cl_kernel_init, line 267
builtin_local_linear_id()Not OpenCL 2.0 device, Beignet extension test!
[SUCCESS]
builtin_global_linear_id()Not OpenCL 2.0 device, Beignet extension test!
[SUCCESS]
compiler_sub_group_shuffle_xor()[SUCCESS]
compiler_sub_group_shuffle_up()[SUCCESS]
compiler_sub_group_shuffle_down()[SUCCESS]
compiler_sub_group_shuffle()[SUCCESS]
compiler_get_sub_group_local_id()[SUCCESS]
compiler_get_max_sub_group_size()[SUCCESS]
runtime_use_host_ptr_image()[SUCCESS]
runtime_alloc_host_ptr_buffer()[SUCCESS]
runtime_use_host_ptr_buffer()[SUCCESS]
vload_test_uchar()[SUCCESS]
vload_test_char()[SUCCESS]
vload_test_ushort()[SUCCESS]
vload_test_short()[SUCCESS]
vload_test_uint()[SUCCESS]
vload_test_int()[SUCCESS]
vload_test_float()[SUCCESS]
compiler_assignment_operation_in_if()[SUCCESS]
compiler_constant_expr()[SUCCESS]
compiler_fill_image_2d_array()[SUCCESS]
compiler_fill_image_1d_array()[SUCCESS]
compare_image_2d_and_1d_array()Unresolved symbol: _Z14__gen_ocl_fminff   8
Aborting...
Unresolved symbol: _Z14__gen_ocl_fmaxff   8
Aborting...
Unresolved symbol: _Z14__gen_ocl_fminff   8
Aborting...
Unresolved symbol: _Z14__gen_ocl_fmaxff   8
Aborting...
[FAILED]
Error: error calling clBuildProgram with error CL_BUILD_PROGRAM_FAILURE

  at file
/usr/ports/lang/beignet/work/Beignet-1.2.0-Source/utests/utest_helper.cpp,
function cl_kernel_init, line 267
image_from_buffer()[SUCCESS]
image_1D_buffer()[SUCCESS]
builtin_kernel_max_global_size()[SUCCESS]
enqueue_fill_buf()[SUCCESS]
test_printf()Warning: Have a int parameter for %f like specifier, take care
of it


And then it hung the OS.

--
Igor
___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-18 Thread Rebecca N. Palmer
> builtin_kernel_block_motion_estimate_intel()[SUCCESS]
> runtime_climage_from_boname()Unresolved symbol:
> _Z22__gen_ocl_write_imagef11ocl_image2dDv2_iDv4_f
> Aborting...

That message is from backend/src/llvm/llvm_gen_backend.hpp:97, and means 
it can't find that function (in its internal list, not the actual 
library files): possibly a name demangling problem?

To find out, try this:

--- a/backend/src/llvm/llvm_gen_backend.hpp
+++ b/backend/src/llvm/llvm_gen_backend.hpp
@@ -80,12 +80,13 @@ namespace gbe
 gbe::map map;
 OCLInstrinsic find(const std::string symbol) const {
   auto it = map.find(symbol);
+  std::string realFnName, stripName;
+  int status;

   if (it == map.end()) {
-int status;
 char *realName = abi::__cxa_demangle(symbol.c_str(), NULL, NULL, 
);
 if (status == 0) {
-  std::string realFnName(realName), stripName;
+  realFnName=std::string(realName);
   stripName = realFnName.substr(0, realFnName.find("("));
   it = map.find(stripName);
 }
@@ -94,7 +95,7 @@ namespace gbe
   // FIXME, should create a complete error reporting mechanism
   // when found error in beignet managed passes including Gen pass.
   if (it == map.end()) {
-std::cerr << "Unresolved symbol: " << symbol << std::endl;
+std::cerr << "Unresolved symbol: " << symbol << " " << realFnName << " 
" << stripName << " " << status << std::endl;
 std::cerr << "Aborting..." << std::endl;
 return GEN_OCL_NOT_FOUND;
   }

___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-17 Thread Igor Pavlov
> you'll also need to set the rest of setenv.sh in whatever way does work

There's slight improvement:

platform number 1
platform_profile "FULL_PROFILE"
platform_name "Intel Gen OCL Driver"
platform_vendor "Intel"
platform_version "OpenCL 1.2 beignet 1.2"
platform_extensions "cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd
cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups"
Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (3, 7, 5)
See README.md or http://www.freedesktop.org/wiki/Software/Beignet/
Beignet: Warning - overriding self-test failure
device_profile "FULL_PROFILE"
device_name "Intel(R) HD Graphics Haswell GT1 Server"
device_vendor "Intel"
device_version "OpenCL 1.2 beignet 1.2"
device_extensions "cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd
cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups"
device_opencl_c_version "OpenCL C 1.2 beignet 1.2"
23 image formats are supported
[CL_R CL_UNORM_INT8]
[CL_R CL_UNORM_INT16]
[CL_R CL_SIGNED_INT8]
[CL_R CL_SIGNED_INT16]
[CL_R CL_SIGNED_INT32]
[CL_R CL_UNSIGNED_INT8]
[CL_R CL_UNSIGNED_INT16]
[CL_R CL_UNSIGNED_INT32]
[CL_R CL_HALF_FLOAT]
[CL_R CL_FLOAT]
[CL_RG CL_UNORM_INT8]
[CL_RG CL_UNSIGNED_INT8]
[CL_RGBA CL_UNORM_INT8]
[CL_RGBA CL_UNORM_INT16]
[CL_RGBA CL_SIGNED_INT8]
[CL_RGBA CL_SIGNED_INT16]
[CL_RGBA CL_SIGNED_INT32]
[CL_RGBA CL_UNSIGNED_INT8]
[CL_RGBA CL_UNSIGNED_INT16]
[CL_RGBA CL_UNSIGNED_INT32]
[CL_RGBA CL_HALF_FLOAT]
[CL_RGBA CL_FLOAT]
[CL_BGRA CL_UNORM_INT8]
builtin_kernel_block_motion_estimate_intel()[SUCCESS]
runtime_climage_from_boname()Unresolved symbol:
_Z22__gen_ocl_write_imagef11ocl_image2dDv2_iDv4_f
Aborting...
While deleting: <2 x i32> %
Use still stuck around after Def is destroyed:  tail call void
@_Z22__gen_ocl_write_imagef11ocl_image2dDv2_iDv4_f(%opencl.image2d_t.0
addrspace(1)* %dst, <2 x i32> , <4 x float> ) #6
Assertion failed: (use_empty() && "Uses remain when a value is
destroyed!"), function ~Value, file
/usr/ports/devel/llvm37/work/llvm-3.7.1.src/lib/IR/Value.cpp, line 82.
Interrupt signal (SIGABRT) received.
summary:
--
  total: 920
  run: 2
  pass: 1
  fail: 1
  pass rate: 0.50
Nothing to output !

--
​Igor​
___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-17 Thread Rebecca N. Palmer
Weird - setenv.sh has export OCL_IGNORE_SELF_TEST=1, which is supposed 
to turn that off (does setting environment variables that way not work 
in FreeBSD? if so, you'll also need to set the rest of setenv.sh in 
whatever way does work).  Does passing that explicitly (i.e. 
OCL_IGNORE_SELF_TEST=1 ./utest_run or OCL_IGNORE_SELF_TEST=1 clinfo) , 
or disabling it altogether (remove the device = 0; at src/cl_device_id.c 
line 893), give you any more?


(*Warning*: these do *not* fix the underlying "using __local returns 
nonsense" problem, only turn off the check so we can see whether the 
problem actually is that.)


___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-16 Thread Igor Pavlov
> If you compiled Beignet yourself, also try running the test suite:

Here is the result:

# ./utest_run
platform number 1
platform_profile "FULL_PROFILE"
platform_name "Intel Gen OCL Driver"
platform_vendor "Intel"
platform_version "OpenCL 1.2 beignet 1.2"
platform_extensions "cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd
cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups"
Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (3, 7, 5)
See README.md or http://www.freedesktop.org/wiki/Software/Beignet/
Beignet: disabling non-working device
error calling clGetDeviceIDs
Failed to initialize cl device.

summary:
--
  total: 920
  run: 0
  pass: 0
  fail: 0
  pass rate: 0.00
Nothing to output !


--
Igor
___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-16 Thread Rebecca N. Palmer
> Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (3, 7, 5)
> See README.md or http://www.freedesktop.org/wiki/Software/Beignet/
> Beignet: disabling non-working device

That looks like the "no __local on Haswell" issue (Linux fixed this in 4.2,
but FreeBSD might not have): try

OCL_IGNORE_SELF_TEST=1 clinfo

If you compiled Beignet yourself, also try running the test suite:
make utest
cd utests
. setenv.sh
./utest_run

If it is that, I'd expect most but not all of them to pass.

___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-14 Thread Igor Pavlov
I've missed that clinfo output has changed while I'm experimenting with
drivers.
Now it looks like this:

Number of platforms   1
  Platform Name   Intel Gen OCL Driver
  Platform Vendor Intel
  Platform VersionOpenCL 1.2 beignet 1.2
  Platform ProfileFULL_PROFILE
  Platform Extensions
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
cl_khr_byte_addressable_store cl_khr_3d_image_writes
cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator
cl_intel_motion_estimation cl_intel_subgroups
  Platform Extensions function suffix Intel
>>>>>
Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (3, 7, 5)
See README.md or http://www.freedesktop.org/wiki/Software/Beignet/
Beignet: disabling non-working device
<<<<<
  Platform Name   Intel Gen OCL Driver
Number of devices 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver
Beignet: disabling non-working device
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Intel Gen OCL Driver
  clCreateContext(NULL, ...) [default]No devices found in
platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in
platform
Beignet: disabling non-working device
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in
platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices
found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in
platform
Beignet: disabling non-working device
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in
platform

ICD loader properties
  ICD loader Name OpenCL ICD Loader
  ICD loader Vendor   OCL Icd free software
  ICD loader Version  2.2.7
  ICD loader Profile  OpenCL 1.2
NOTE:your OpenCL library declares to support OpenCL 1.2,
but it seems to support up to OpenCL 2.0 too.
Nothing to output !


And here is output of the 'sysctl hw.dri.0.info' command:
https://pastebin.com/PTzvswjU


libdrm version is 2.4.66,1


/dev/dri permissions are 0555/dr-xr-xr-x, its user/group is root:wheel and
I run clinfo as root.


--
Igor


2016-10-13 17:30 GMT+03:00 Koop Mast <k...@rainbow-runner.nl>:

> On Thu, 2016-10-13 at 09:49 +, Pan, Xiuli wrote:
> > Hi Igor,
> >
> > It seems something wrong with the libdrm, what the libdrm you are
> > using?
> >
> > Thanks
> > Xiuli
>
> Hi,
>
> I don't think it is a libdrm issue (yet). By default the permissions on
> the /dev/dri devices get set to 660 and root:wheel. So the question is
> if your user can read the devices. If it is a permission problem,
> FreeBSD 11.0 makes the /dev/dri/ devices part of the video group, so
> just adding yourself to that group and relogging should fix the
> permission issue.
>
> I'm not sure if the video group fix was ported to FreeBSD 10.3, but you
> can fix that by either making yourself part of the wheel group or
> adding a line to /etc/devfs.conf to set the permissions to 666 on the
> /dev/dri devices.
>
> -Koop
>
> >
> >
> >
> > From: Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com]
> > Sent: Wednesday, October 12, 2016 6:13 PM
> > To: Pan, Xiuli <xiuli@intel.com>
> > Cc: beignet@lists.freedesktop.org
> > Subject: Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
> >
> > > The PCIID should be 0x040a, and we support that device.
> >
> > Here it is:
> >
> > vgapci0@pci0:0:2:0:class=0x03 card=[0x040a]1849
> > chip=[0x040a]8086 rev=0x06 hdr=0x00
> >
> > > ls /dev/dri/
> >
> > It returns:
> >
> > card0controlD64
> >
> > There's no renderD128.
> >
> > kldstat says that i915kms.ko and drm2.ko are loaded.
> >
> >
> > 2016-10-12 6:17 GMT+03:00 Pan, Xiuli <xiuli@intel.com>:
> > Hi Igor,
> >
> > The PCIID should be 0x040a, and we support that device.
> > If you are running without X, then you should check if
> > ls /dev/dri/
> > will return something like these:
> > card0  controlD64  renderD128
> > If not you may need to enable i915 in your kernel.
> > Otherwise, there may be something wrong with you libdrm
> >
> > Thanks
> > Xiuli
> >
> > From: Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com]
> > Sent: Wednesday, October 12, 2016 

Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-14 Thread Igor Pavlov
> The PCIID should be 0x040a, and we support that device.

Here it is:

vgapci0@pci0:0:2:0:class=0x03 card=[0x040a]1849 chip=[0x040a]8086
rev=0x06 hdr=0x00

> ls /dev/dri/

It returns:

card0controlD64

There's no renderD128.

kldstat says that i915kms.ko and drm2.ko are loaded.


2016-10-12 6:17 GMT+03:00 Pan, Xiuli <xiuli@intel.com>:

> Hi Igor,
>
>
>
> The PCIID should be 0x040a, and we support that device.
>
> If you are running without X, then you should check if
>
> ls /dev/dri/
>
> will return something like these:
>
> card0  controlD64  renderD128
>
> If not you may need to enable i915 in your kernel.
>
> Otherwise, there may be something wrong with you libdrm
>
>
>
> Thanks
>
> Xiuli
>
>
>
> *From:* Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com]
> *Sent:* Wednesday, October 12, 2016 8:00 AM
> *To:* Pan, Xiuli <xiuli@intel.com>
> *Cc:* beignet@lists.freedesktop.org
> *Subject:* Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>
>
>
> It's a headless system, there is no X.
>
> # pciconf -lvbce
>
> vgapci0@pci0:0:2:0:class=0x03 card=0x040a1849 chip=0x040a8086
> rev=0x06 hdr=0x00
> vendor = 'Intel Corporation'
> device = 'Xeon E3-1200 v3 Processor Integrated Graphics Controller'
> class  = display
> subclass   = VGA
> bar   [10] = type Memory, range 64, base 0xf640, size 4194304,
> enabled
> bar   [18] = type Prefetchable Memory, range 64, base 0xe000, size
> 268435456, enabled
> bar   [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
> cap 05[90] = MSI supports 1 message
> cap 01[d0] = powerspec 2  supports D0 D3  current D0
> cap 13[a4] = PCI Advanced Features: FLR TP
>
> Do I have to load some driver maybe?
>
>
>
>
>
> 2016-10-11 10:27 GMT+03:00 Pan, Xiuli <xiuli@intel.com>:
>
> Hi Igor,
>
> Could you provide the PCI ID of your device by
>
> lspci –v.
>
> It seems we could not get the device, it may because that you build with X
> but running without a screen open, or build without X but running by
> non-root user.
>
>
>
> Thanks
>
> Xiuli
>
>
>
> *From:* Beignet [mailto:beignet-boun...@lists.freedesktop.org] *On Behalf
> Of *Igor Pavlov
> *Sent:* Monday, October 10, 2016 8:51 PM
> *To:* beignet@lists.freedesktop.org
> *Subject:* [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>
>
>
> Dear Beignet community,
>
> Could someone kindly clarify, what do all of this mean?
>
> # uname -opr
>
> FreeBSD 11.0-RELEASE-p1 amd64
>
>
>
> # sysctl hw.model
>
> hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz
>
>
>
> # pkg info | grep beignet
>
> beignet-1.2.0  OpenCL library for Intel GPUs
>
>
>
> # clinfo -v
>
> clinfo version 2.1.16.01.12
>
>
>
> # clinfo
>
> Device open failed, aborting...
>
> Number of platforms   1
>
>   Platform Name   Intel Gen OCL Driver
>
>   Platform Vendor Intel
>
>   Platform VersionOpenCL 1.2 beignet 1.2
>
>   Platform ProfileFULL_PROFILE
>
>   Platform Extensions 
> cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics 
> cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
> cl_khr_byte_addressable_store cl_khr_3d_image_writes 
> cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator 
> cl_intel_motion_estimation cl_intel_subgroups
>
>   Platform Extensions function suffix Intel
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: 
>
>
>
>   Platform Name   Intel Gen OCL Driver
>
> Number of devices 0
>
>
>
> NULL platform behavior
>
>   clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: 
>
>   clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Intel Gen OCL Driver
>
>   clCreateContext(NULL, ...) [default]No devices found in platform
>
>   clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in 
> platform
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: 
>
>   clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in 
> platform
>
>   clCreateContextFromType

Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-14 Thread Igor Pavlov
It's a headless system, there is no X.

# pciconf -lvbce

vgapci0@pci0:0:2:0:class=0x03 card=0x040a1849 chip=0x040a8086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v3 Processor Integrated Graphics Controller'
class  = display
subclass   = VGA
bar   [10] = type Memory, range 64, base 0xf640, size 4194304,
enabled
bar   [18] = type Prefetchable Memory, range 64, base 0xe000, size
268435456, enabled
bar   [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
cap 05[90] = MSI supports 1 message
cap 01[d0] = powerspec 2  supports D0 D3  current D0
cap 13[a4] = PCI Advanced Features: FLR TP

Do I have to load some driver maybe?


2016-10-11 10:27 GMT+03:00 Pan, Xiuli :

> Hi Igor,
>
> Could you provide the PCI ID of your device by
>
> lspci –v.
>
> It seems we could not get the device, it may because that you build with X
> but running without a screen open, or build without X but running by
> non-root user.
>
>
>
> Thanks
>
> Xiuli
>
>
>
> *From:* Beignet [mailto:beignet-boun...@lists.freedesktop.org] *On Behalf
> Of *Igor Pavlov
> *Sent:* Monday, October 10, 2016 8:51 PM
> *To:* beignet@lists.freedesktop.org
> *Subject:* [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>
>
>
> Dear Beignet community,
>
> Could someone kindly clarify, what do all of this mean?
>
> # uname -opr
>
> FreeBSD 11.0-RELEASE-p1 amd64
>
>
>
> # sysctl hw.model
>
> hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz
>
>
>
> # pkg info | grep beignet
>
> beignet-1.2.0  OpenCL library for Intel GPUs
>
>
>
> # clinfo -v
>
> clinfo version 2.1.16.01.12
>
>
>
> # clinfo
>
> Device open failed, aborting...
>
> Number of platforms   1
>
>   Platform Name   Intel Gen OCL Driver
>
>   Platform Vendor Intel
>
>   Platform VersionOpenCL 1.2 beignet 1.2
>
>   Platform ProfileFULL_PROFILE
>
>   Platform Extensions 
> cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics 
> cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
> cl_khr_byte_addressable_store cl_khr_3d_image_writes 
> cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator 
> cl_intel_motion_estimation cl_intel_subgroups
>
>   Platform Extensions function suffix Intel
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: 
>
>
>
>   Platform Name   Intel Gen OCL Driver
>
> Number of devices 0
>
>
>
> NULL platform behavior
>
>   clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: 
>
>   clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Intel Gen OCL Driver
>
>   clCreateContext(NULL, ...) [default]No devices found in platform
>
>   clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in 
> platform
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: 
>
>   clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in 
> platform
>
>   clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found 
> in platform
>
>   clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in 
> platform
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: 
>
>   clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in 
> platform
>
>
>
> ICD loader properties
>
>   ICD loader Name OpenCL ICD Loader
>
>   ICD loader Vendor   OCL Icd free software
>
>   ICD loader Version  2.2.7
>
>   ICD loader Profile  OpenCL 1.2
>
> NOTE:   your OpenCL library declares to support OpenCL 1.2,
>
> but it seems to support up to OpenCL 2.0 too.
>
> Nothing to output !
>
> --
> Igor
>
>
___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-13 Thread Koop Mast
On Thu, 2016-10-13 at 09:49 +, Pan, Xiuli wrote:
> Hi Igor,
>  
> It seems something wrong with the libdrm, what the libdrm you are
> using?
>  
> Thanks
> Xiuli

Hi,

I don't think it is a libdrm issue (yet). By default the permissions on
the /dev/dri devices get set to 660 and root:wheel. So the question is
if your user can read the devices. If it is a permission problem,
FreeBSD 11.0 makes the /dev/dri/ devices part of the video group, so
just adding yourself to that group and relogging should fix the
permission issue.

I'm not sure if the video group fix was ported to FreeBSD 10.3, but you
can fix that by either making yourself part of the wheel group or
adding a line to /etc/devfs.conf to set the permissions to 666 on the
/dev/dri devices.

-Koop

>  
>  
>  
> From: Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com] 
> Sent: Wednesday, October 12, 2016 6:13 PM
> To: Pan, Xiuli <xiuli@intel.com>
> Cc: beignet@lists.freedesktop.org
> Subject: Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>  
> > The PCIID should be 0x040a, and we support that device.
> 
> Here it is:
> 
> vgapci0@pci0:0:2:0:    class=0x03 card=[0x040a]1849
> chip=[0x040a]8086 rev=0x06 hdr=0x00
> 
> > ls /dev/dri/
> 
> It returns:
> 
> card0        controlD64
>  
> There's no renderD128.
> 
> kldstat says that i915kms.ko and drm2.ko are loaded.
>  
>  
> 2016-10-12 6:17 GMT+03:00 Pan, Xiuli <xiuli@intel.com>:
> Hi Igor,
>  
> The PCIID should be 0x040a, and we support that device.
> If you are running without X, then you should check if
> ls /dev/dri/
> will return something like these:
> card0  controlD64  renderD128
> If not you may need to enable i915 in your kernel.
> Otherwise, there may be something wrong with you libdrm
>  
> Thanks
> Xiuli
>  
> From: Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com] 
> Sent: Wednesday, October 12, 2016 8:00 AM
> To: Pan, Xiuli <xiuli@intel.com>
> Cc: beignet@lists.freedesktop.org
> Subject: Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>  
> It's a headless system, there is no X.
> 
> # pciconf -lvbce
> 
> vgapci0@pci0:0:2:0:    class=0x03 card=0x040a1849 chip=0x040a8086
> rev=0x06 hdr=0x00
>     vendor = 'Intel Corporation'
>     device = 'Xeon E3-1200 v3 Processor Integrated Graphics
> Controller'
>     class  = display
>     subclass   = VGA
>     bar   [10] = type Memory, range 64, base 0xf640, size
> 4194304, enabled
>     bar   [18] = type Prefetchable Memory, range 64, base 0xe000,
> size 268435456, enabled
>     bar   [20] = type I/O Port, range 32, base 0xf000, size 64,
> enabled
>     cap 05[90] = MSI supports 1 message 
>     cap 01[d0] = powerspec 2  supports D0 D3  current D0
>     cap 13[a4] = PCI Advanced Features: FLR TP
> 
> Do I have to load some driver maybe?
>  
>  
> 2016-10-11 10:27 GMT+03:00 Pan, Xiuli <xiuli@intel.com>:
> Hi Igor,
> Could you provide the PCI ID of your device by
> lspci –v.
> It seems we could not get the device, it may because that you build
> with X but running without a screen open, or build without X but
> running by non-root user.
>  
> Thanks
> Xiuli
>  
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On
> Behalf Of Igor Pavlov
> Sent: Monday, October 10, 2016 8:51 PM
> To: beignet@lists.freedesktop.org
> Subject: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>  
> Dear Beignet community,
> 
> Could someone kindly clarify, what do all of this mean?
> 
> # uname -opr
> FreeBSD 11.0-RELEASE-p1 amd64
>  
> # sysctl hw.model 
> hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz
>  
> # pkg info | grep beignet
> beignet-1.2.0  OpenCL library for Intel GPUs
>  
> # clinfo -v
> clinfo version 2.1.16.01.12
>  
> # clinfo 
> Device open failed, aborting...
> Number of platforms       1
>   Platform Name   Intel Gen OCL
> Driver
>   Platform Vendor Intel
>   Platform Version    OpenCL 1.2 beignet
> 1.2
>   Platform Profile    FULL_PROFILE
>   Platform Extensions
> cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
> cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
> cl_khr_byte_addressable_store cl_khr_3d_image_writes
> cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd
> cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups
>   Platform Extensions function suffix Intel
> Device open failed, 

Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-13 Thread Pan, Xiuli
Hi Igor,

It seems something wrong with the libdrm, what the libdrm you are using?

Thanks
Xiuli



From: Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com]
Sent: Wednesday, October 12, 2016 6:13 PM
To: Pan, Xiuli <xiuli@intel.com>
Cc: beignet@lists.freedesktop.org
Subject: Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

> The PCIID should be 0x040a, and we support that device.

Here it is:

vgapci0@pci0:0:2:0:class=0x03 card=[0x040a]1849 chip=[0x040a]8086 
rev=0x06 hdr=0x00

> ls /dev/dri/
It returns:

card0controlD64

There's no renderD128.
kldstat says that i915kms.ko and drm2.ko are loaded.


2016-10-12 6:17 GMT+03:00 Pan, Xiuli 
<xiuli@intel.com<mailto:xiuli@intel.com>>:
Hi Igor,

The PCIID should be 0x040a, and we support that device.
If you are running without X, then you should check if
ls /dev/dri/
will return something like these:
card0  controlD64  renderD128
If not you may need to enable i915 in your kernel.
Otherwise, there may be something wrong with you libdrm

Thanks
Xiuli

From: Igor Pavlov 
[mailto:igor.arabesc.pav...@gmail.com<mailto:igor.arabesc.pav...@gmail.com>]
Sent: Wednesday, October 12, 2016 8:00 AM
To: Pan, Xiuli <xiuli@intel.com<mailto:xiuli@intel.com>>
Cc: beignet@lists.freedesktop.org<mailto:beignet@lists.freedesktop.org>
Subject: Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

It's a headless system, there is no X.

# pciconf -lvbce

vgapci0@pci0:0:2:0:class=0x03 card=0x040a1849 chip=0x040a8086 rev=0x06 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v3 Processor Integrated Graphics Controller'
class  = display
subclass   = VGA
bar   [10] = type Memory, range 64, base 0xf640, size 4194304, enabled
bar   [18] = type Prefetchable Memory, range 64, base 0xe000, size 
268435456, enabled
bar   [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
cap 05[90] = MSI supports 1 message
cap 01[d0] = powerspec 2  supports D0 D3  current D0
cap 13[a4] = PCI Advanced Features: FLR TP
Do I have to load some driver maybe?


2016-10-11 10:27 GMT+03:00 Pan, Xiuli 
<xiuli@intel.com<mailto:xiuli@intel.com>>:
Hi Igor,
Could you provide the PCI ID of your device by
lspci –v.
It seems we could not get the device, it may because that you build with X but 
running without a screen open, or build without X but running by non-root user.

Thanks
Xiuli

From: Beignet 
[mailto:beignet-boun...@lists.freedesktop.org<mailto:beignet-boun...@lists.freedesktop.org>]
 On Behalf Of Igor Pavlov
Sent: Monday, October 10, 2016 8:51 PM
To: beignet@lists.freedesktop.org<mailto:beignet@lists.freedesktop.org>
Subject: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

Dear Beignet community,
Could someone kindly clarify, what do all of this mean?

# uname -opr

FreeBSD 11.0-RELEASE-p1 amd64



# sysctl hw.model

hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz



# pkg info | grep beignet

beignet-1.2.0  OpenCL library for Intel GPUs



# clinfo -v

clinfo version 2.1.16.01.12



# clinfo

Device open failed, aborting...

Number of platforms   1

  Platform Name   Intel Gen OCL Driver

  Platform Vendor Intel

  Platform VersionOpenCL 1.2 beignet 1.2

  Platform ProfileFULL_PROFILE

  Platform Extensions 
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics 
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer 
cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation 
cl_intel_subgroups

  Platform Extensions function suffix Intel

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 



  Platform Name   Intel Gen OCL Driver

Number of devices 0



NULL platform behavior

  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Intel Gen OCL Driver

  clCreateContext(NULL, ...) [default]No devices found in platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in 
platform

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in 
platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found 
in platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in 
platform

Device open failed, aborting...

cl_get_gt_d

Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-11 Thread Pan, Xiuli
Hi Igor,

The PCIID should be 0x040a, and we support that device.
If you are running without X, then you should check if
ls /dev/dri/
will return something like these:
card0  controlD64  renderD128
If not you may need to enable i915 in your kernel.
Otherwise, there may be something wrong with you libdrm

Thanks
Xiuli

From: Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com]
Sent: Wednesday, October 12, 2016 8:00 AM
To: Pan, Xiuli <xiuli@intel.com>
Cc: beignet@lists.freedesktop.org
Subject: Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

It's a headless system, there is no X.

# pciconf -lvbce

vgapci0@pci0:0:2:0:class=0x03 card=0x040a1849 chip=0x040a8086 rev=0x06 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Xeon E3-1200 v3 Processor Integrated Graphics Controller'
class  = display
subclass   = VGA
bar   [10] = type Memory, range 64, base 0xf640, size 4194304, enabled
bar   [18] = type Prefetchable Memory, range 64, base 0xe000, size 
268435456, enabled
bar   [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
cap 05[90] = MSI supports 1 message
cap 01[d0] = powerspec 2  supports D0 D3  current D0
cap 13[a4] = PCI Advanced Features: FLR TP
Do I have to load some driver maybe?


2016-10-11 10:27 GMT+03:00 Pan, Xiuli 
<xiuli@intel.com<mailto:xiuli@intel.com>>:
Hi Igor,
Could you provide the PCI ID of your device by
lspci –v.
It seems we could not get the device, it may because that you build with X but 
running without a screen open, or build without X but running by non-root user.

Thanks
Xiuli

From: Beignet 
[mailto:beignet-boun...@lists.freedesktop.org<mailto:beignet-boun...@lists.freedesktop.org>]
 On Behalf Of Igor Pavlov
Sent: Monday, October 10, 2016 8:51 PM
To: beignet@lists.freedesktop.org<mailto:beignet@lists.freedesktop.org>
Subject: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

Dear Beignet community,
Could someone kindly clarify, what do all of this mean?

# uname -opr

FreeBSD 11.0-RELEASE-p1 amd64



# sysctl hw.model

hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz



# pkg info | grep beignet

beignet-1.2.0  OpenCL library for Intel GPUs



# clinfo -v

clinfo version 2.1.16.01.12



# clinfo

Device open failed, aborting...

Number of platforms   1

  Platform Name   Intel Gen OCL Driver

  Platform Vendor Intel

  Platform VersionOpenCL 1.2 beignet 1.2

  Platform ProfileFULL_PROFILE

  Platform Extensions 
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics 
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer 
cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation 
cl_intel_subgroups

  Platform Extensions function suffix Intel

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 



  Platform Name   Intel Gen OCL Driver

Number of devices 0



NULL platform behavior

  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Intel Gen OCL Driver

  clCreateContext(NULL, ...) [default]No devices found in platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in 
platform

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in 
platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found 
in platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in 
platform

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in 
platform



ICD loader properties

  ICD loader Name OpenCL ICD Loader

  ICD loader Vendor   OCL Icd free software

  ICD loader Version  2.2.7

  ICD loader Profile  OpenCL 1.2

NOTE:   your OpenCL library declares to support OpenCL 1.2,

but it seems to support up to OpenCL 2.0 too.

Nothing to output !

--
Igor

___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-11 Thread Pan, Xiuli
Hi Igor,
Could you provide the PCI ID of your device by
lspci –v.
It seems we could not get the device, it may because that you build with X but 
running without a screen open, or build without X but running by non-root user.

Thanks
Xiuli

From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Igor 
Pavlov
Sent: Monday, October 10, 2016 8:51 PM
To: beignet@lists.freedesktop.org
Subject: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

Dear Beignet community,
Could someone kindly clarify, what do all of this mean?

# uname -opr

FreeBSD 11.0-RELEASE-p1 amd64



# sysctl hw.model

hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz



# pkg info | grep beignet

beignet-1.2.0  OpenCL library for Intel GPUs



# clinfo -v

clinfo version 2.1.16.01.12



# clinfo

Device open failed, aborting...

Number of platforms   1

  Platform Name   Intel Gen OCL Driver

  Platform Vendor Intel

  Platform VersionOpenCL 1.2 beignet 1.2

  Platform ProfileFULL_PROFILE

  Platform Extensions 
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics 
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer 
cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation 
cl_intel_subgroups

  Platform Extensions function suffix Intel

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 



  Platform Name   Intel Gen OCL Driver

Number of devices 0



NULL platform behavior

  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Intel Gen OCL Driver

  clCreateContext(NULL, ...) [default]No devices found in platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in 
platform

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in 
platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found 
in platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in 
platform

Device open failed, aborting...

cl_get_gt_device(): error, unknown device: 

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in 
platform



ICD loader properties

  ICD loader Name OpenCL ICD Loader

  ICD loader Vendor   OCL Icd free software

  ICD loader Version  2.2.7

  ICD loader Profile  OpenCL 1.2

NOTE:   your OpenCL library declares to support OpenCL 1.2,

but it seems to support up to OpenCL 2.0 too.

Nothing to output !

--
Igor
___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet