I build latest beignet from git, and copy "libcl.so - libgbeinterp.so -
libgbe.so beignet.bc" into another Skylake Ubuntu desktop. clinfo or simple
test program will report "fatal error: 'ocl.h' file not found". Is there
something wrong in my environment?
root@skl-austin:~/Sources/opencl-book-samples/src/Chapter_2/HelloWorld#
./HelloWorld
Error in kernel:
In file included from <built-in>:297:
<command line>:3:10: fatal error: 'ocl.h' file not found
root@skl-austin:~/Sources/opencl-book-samples/src/Chapter_2/HelloWorld# clinfo
Number of platforms 1
Platform Name Intel Gen OCL Driver
Platform Vendor Intel
Platform Version OpenCL 1.2 beignet 1.3
(git-5b25b17)
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_subgroups
cl_intel_subgroups_short
Platform Extensions function suffix Intel
Platform Name Intel Gen OCL Driver
Number of devices 1
Device Name Intel(R) HD Graphics Skylake
ULX GT2
Device Vendor Intel
Device Vendor ID 0x8086
Device Version OpenCL 1.2 beignet 1.3
(git-5b25b17)
Driver Version 1.3
Device OpenCL C Version OpenCL C 1.2 beignet 1.3
(git-5b25b17)
Device Type GPU
Device Profile FULL_PROFILE
Max compute units 23
Max clock frequency 1000MHz
Device Partition (core)
Max number of sub-devices 1
Supported partition types None, None, None
Max work item dimensions 3
Max work item sizes 512x512x512
Max work group size 512
=== CL_PROGRAM_BUILD_LOG ===
In file included from <built-in>:297:
<command line>:3:10: fatal error: 'ocl.h' file not found
Preferred work group size multiple In file included from
<built-in>:297:
<command line>:3:10: fatal error: 'ocl.h' file not found
Preferred / native vector sizes
char 16 / 8
_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet