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, aborting...

cl_get_gt_device(): error, unknown device: ffffffff



  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: ffffffff

  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: ffffffff

  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: ffffffff

  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

Reply via email to