<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=iso-8859-15">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hello. Running clinfo in my system spews for a number of times
      the warning described in the object. This happens with kernel
      4.1.6 and libdrm 2.4.61 (fedora 22 x86_64), and beignet 1.1.0
      (compiled from source), hardware is i5-3230M (Ivy Brdige). Note
      that my libdrm version is higher than the suggested upgrade that
      apparently fixed the issue for others (e.g. <a
        class="moz-txt-link-freetext"
href="http://lists.freedesktop.org/archives/beignet/2015-May/005642.html"><a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/archives/beignet/2015-May/005642.html">http://lists.freedesktop.org/archives/beignet/2015-May/005642.html</a></a>).<br>
      <br>
      <br>
      Here's the full clinfo 2>&1 output:<br>
    </tt>
    <blockquote><tt>Failed to release test userptr object! (9) i915
        kernel driver may not be sane!</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <tt>Number of platforms                               1</tt><br>
      <tt>  Platform Name                                   Intel Gen
        OCL Driver</tt><br>
      <tt>  Platform Vendor                                 Intel</tt><br>
      <tt>  Platform Version                                OpenCL 1.2
        beignet 1.1.0</tt><br>
      <tt>  Platform Profile                                FULL_PROFILE</tt><br>
      <tt>  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_spir cl_khr_icd</tt><br>
      <tt>  Platform Extensions function suffix             Intel</tt><br>
      <br>
      <tt>  Platform Name                                   Intel Gen
        OCL Driver</tt><br>
      <tt>Number of devices                                 1</tt><br>
      <tt>  Device Name                                     Intel(R) HD
        Graphics IvyBridge M GT2</tt><br>
      <tt>  Device Vendor                                   Intel</tt><br>
      <tt>  Device Vendor ID                                0x166</tt><br>
      <tt>  Device Version                                  OpenCL 1.2
        beignet 1.1.0</tt><br>
      <tt>  Driver Version                                  1.1.0</tt><br>
      <tt>  Device OpenCL C Version                         OpenCL C 1.2
        beignet 1.1.0</tt><br>
      <tt>  Device Type                                     GPU</tt><br>
      <tt>  Device Profile                                  FULL_PROFILE</tt><br>
      <tt>  Max compute units                               16</tt><br>
      <tt>  Max clock frequency                             1000MHz</tt><br>
      <tt>  Device Partition                                (core)</tt><br>
      <tt>    Max number of sub-devices                     1</tt><br>
      <tt>    Supported partition types                     None, None,
        None</tt><br>
      <tt>  Max work item dimensions                        3</tt><br>
      <tt>  Max work item sizes                             512x512x512</tt><br>
      <tt>  Max work group size                             512</tt><br>
      <tt>  Preferred work group size multiple              16</tt><br>
      <tt>  Preferred / native vector sizes                 </tt><br>
      <tt>    char                                                16 /
        8       </tt><br>
      <tt>    short                                                8 /
        8       </tt><br>
      <tt>    int                                                  4 /
        4       </tt><br>
      <tt>    long                                                 2 /
        2       </tt><br>
      <tt>    half                                                 0 /
        8        (n/a)</tt><br>
      <tt>    float                                                4 /
        4       </tt><br>
      <tt>    double                                               0 /
        2        (n/a)</tt><br>
      <tt>  Half-precision Floating-point support           (n/a)</tt><br>
      <tt>  Single-precision Floating-point support         (core)</tt><br>
      <tt>    Denormals                                     No</tt><br>
      <tt>    Infinity and NANs                             Yes</tt><br>
      <tt>    Round to nearest                              Yes</tt><br>
      <tt>    Round to zero                                 No</tt><br>
      <tt>    Round to infinity                             No</tt><br>
      <tt>    IEEE754-2008 fused multiply-add               No</tt><br>
      <tt>    Support is emulated in software               No</tt><br>
      <tt>    Correctly-rounded divide and sqrt operations  No</tt><br>
      <tt>  Double-precision Floating-point support         (n/a)</tt><br>
      <tt>  Address bits                                    32,
        Little-Endian</tt><br>
      <tt>  Global memory size                              2147483648
        (2GiB)</tt><br>
      <tt>  Error Correction support                        No</tt><br>
      <tt>  Max memory allocation                           1073741824
        (1024MiB)</tt><br>
      <tt>  Unified memory for Host and Device              Yes</tt><br>
      <tt>  Minimum alignment for any data type             128 bytes</tt><br>
      <tt>  Alignment of base address                       1024 bits
        (128 bytes)</tt><br>
      <tt>  Global Memory cache type                        Read/Write</tt><br>
      <tt>  Global Memory cache size                        8192</tt><br>
      <tt>  Global Memory cache line                        64 bytes</tt><br>
      <tt>  Image support                                   Yes</tt><br>
      <tt>    Max number of samplers per kernel             16</tt><br>
      <tt>    Max size for 1D images from buffer            65536 pixels</tt><br>
      <tt>    Max 1D or 2D image array size                 2048 images</tt><br>
      <tt>    Max 2D image size                             8192x8192
        pixels</tt><br>
      <tt>    Max 3D image size                            
        8192x8192x2048 pixels</tt><br>
      <tt>    Max number of read image args                 128</tt><br>
      <tt>    Max number of write image args                8</tt><br>
      <tt>  Local memory type                               Global</tt><br>
      <tt>  Local memory size                               65536
        (64KiB)</tt><br>
      <tt>  Max constant buffer size                        134217728
        (128MiB)</tt><br>
      <tt>  Max number of constant args                     8</tt><br>
      <tt>  Max size of kernel argument                     1024</tt><br>
      <tt>  Queue properties                                </tt><br>
      <tt>    Out-of-order execution                        No</tt><br>
      <tt>    Profiling                                     Yes</tt><br>
      <tt>  Profiling timer resolution                      80ns</tt><br>
      <tt>  Execution capabilities                          </tt><br>
      <tt>    Run OpenCL kernels                            Yes</tt><br>
      <tt>    Run native kernels                            Yes</tt><br>
      <tt>    SPIR versions                                
        <printDeviceInfo:133: get CL_DEVICE_SPIR_VERSIONS size :
        error -30></tt><br>
      <tt>  Prefer user sync for interop                    Yes</tt><br>
      <tt>  printf() buffer size                            1048576
        (1024KiB)</tt><br>
      <tt>  Built-in kernels                               
__cl_copy_region_align4;__cl_copy_region_align16;__cl_cpy_region_unalign_same_offset;__cl_copy_region_unalign_dst_offset;__cl_copy_region_unalign_src_offset;__cl_copy_buffer_rect;__cl_copy_image_1d_to_1d;__cl_copy_image_2d_to_2d;__cl_copy_image_3d_to_2d;__cl_copy_image_2d_to_3d;__cl_copy_image_3d_to_3d;__cl_copy_image_2d_to_buffer;__cl_copy_image_3d_to_buffer;__cl_copy_buffer_to_image_2d;__cl_copy_buffer_to_image_3d;__cl_fill_region_unalign;__cl_fill_region_align2;__cl_fill_region_align4;__cl_fill_region_align8_2;__cl_fill_region_align8_4;__cl_fill_region_align8_8;__cl_fill_region_align8_16;__cl_fill_region_align128;__cl_fill_image_1d;__cl_fill_image_1d_array;__cl_fill_image_2d;__cl_fill_image_2d_array;__cl_fill_image_3d;</tt><br>
      <tt>  Device Available                                Yes</tt><br>
      <tt>  Compiler Available                              Yes</tt><br>
      <tt>  Linker Available                                Yes</tt><br>
      <tt>  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_spir cl_khr_icd</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <tt>Failed to release test userptr object! (9) i915 kernel driver
        may not be sane!</tt><br>
      <br>
      <tt>NULL platform behavior</tt><br>
      <tt>  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen
        OCL Driver</tt><br>
      <tt>  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success
        [Intel]</tt><br>
      <tt>  clCreateContext(NULL, ...) [default]            Success
        [Intel]</tt><br>
      <tt>  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No
        devices found in platform</tt><br>
      <tt>  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success
        (1)</tt><br>
      <tt>    Platform Name                                 Intel Gen
        OCL Driver</tt><br>
      <tt>    Device Name                                   Intel(R) HD
        Graphics IvyBridge M GT2</tt><br>
      <tt>  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) 
        No devices found in platform</tt><br>
      <tt>  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No
        devices found in platform</tt><br>
      <tt>  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success
        (1)</tt><br>
      <tt>    Platform Name                                 Intel Gen
        OCL Driver</tt><br>
      <tt>    Device Name                                   Intel(R) HD
        Graphics IvyBridge M GT2</tt><br>
      <br>
      <tt>ICD loader properties</tt><br>
      <tt>  ICD loader Name                                 OpenCL ICD
        Loader</tt><br>
      <tt>  ICD loader Vendor                               OCL Icd free
        software</tt><br>
      <tt>  ICD loader Version                              2.2.3</tt><br>
      <tt>  ICD loader Profile                              OpenCL 1.2</tt><br>
    </blockquote>
  </body>
</html>