Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

i am getting errors while compiling in clear linux #22

Open
MajidAbdelilah opened this issue May 21, 2022 · 5 comments
Open

i am getting errors while compiling in clear linux #22

MajidAbdelilah opened this issue May 21, 2022 · 5 comments

Comments

@MajidAbdelilah
Copy link

MajidAbdelilah commented May 21, 2022

log.txt

os: clear linux
cpu: i5 4570 with intel HD 4600 igpu

i dont know why is that happening

any help please thank you

@MajidAbdelilah
Copy link
Author

ok so i have changed the c++ standard to c++14 in cmake and now i got this

[ 22%] Compiling /home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//ocl_clz_20.bc
[ 22%] Compiling /home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//ocl_ctz_20.bc
[ 22%] Compiling /home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//ocl_atomic_20.bc
[ 22%] Compiling /home/ain/projects/opencl/beignet-master/build/backend/src/libocl/src/ocl_async.cl
[ 22%] Compiling /home/ain/projects/opencl/beignet-master/build/backend/src/libocl/src/ocl_workitem.cl
[ 22%] Compiling /home/ain/projects/opencl/beignet-master/build/backend/src/libocl/src/ocl_sync.cl
In file included from /home/ain/projects/opencl/beignet-master/build/backend/src/libocl/src/ocl_sync.cl:19:
/home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_misc.h:319:2: error: typedef redefinition with different types ('struct intel_sub_group_avc_ime_payload_t' vs 'intel_sub_group_avc_ime_payload_t')
}intel_sub_group_avc_ime_payload_t;
 ^
/home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_misc.h:321:15: error: typedef redefinition with different types ('uint8' (vector of 8 'uint' values) vs 'intel_sub_group_avc_ime_result_t')
typedef uint8 intel_sub_group_avc_ime_result_t;
              ^
/home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_misc.h:342:2: error: typedef redefinition with different types ('struct intel_sub_group_avc_ref_payload_t' vs 'intel_sub_group_avc_ref_payload_t')
}intel_sub_group_avc_ref_payload_t;
 ^
/home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_misc.h:367:2: error: typedef redefinition with different types ('struct intel_sub_group_avc_sic_payload_t' vs 'intel_sub_group_avc_sic_payload_t')
}intel_sub_group_avc_sic_payload_t;
 ^
/home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_misc.h:369:15: error: typedef redefinition with different types ('uint8' (vector of 8 'uint' values) vs 'intel_sub_group_avc_ref_result_t')
typedef uint8 intel_sub_group_avc_ref_result_t;
              ^
/home/ain/projects/opencl/beignet-master/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_misc.h:371:15: error: typedef redefinition with different types ('uint8' (vector of 8 'uint' values) vs 'intel_sub_group_avc_sic_result_t')
typedef uint8 intel_sub_group_avc_sic_result_t;
              ^
6 errors generated.
make[2]: *** [backend/src/libocl/CMakeFiles/beignet_bitcode.dir/build.make:827: backend/src/libocl/usr/local/lib64/beignet/ocl_sync.bc] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 22%] Linking CXX shared library libgbeinterp.so
make[1]: *** [CMakeFiles/Makefile2:320: backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: CMakeFiles/gbeinterp.dir/gbe_bin_interpreter.cpp.o:(.data.rel+0x0): undefined reference to `llvm::DisableABIBreakingChecks'
collect2: error: ld returned 1 exit status
make[2]: *** [backend/src/CMakeFiles/gbeinterp.dir/build.make:97: backend/src/libgbeinterp.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:268: backend/src/CMakeFiles/gbeinterp.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
ain@clr-d01c6ad8576e4167aa66d31117d73cb0~/projects/opencl/beignet-master/build $ 


@MajidAbdelilah
Copy link
Author

ok i got this now with beignet 1.2.1

ain@clr-d01c6ad8576e4167aa66d31117d73cb0~/projects/opencl/beignet-Release_v1.2.1/build $ make 
[  0%] Copy the LL file: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_clz.ll
[  3%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_clz.ll
[  3%] Generate the header by script: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_convert.h
[  3%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_workitem.cl
[  3%] Generate the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/include/ocl_defines.h
[  3%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl.h
[  3%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_types.h
[  6%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_float.h
[ 10%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_printf.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_workitem.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_atom.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_async.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_sync.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_memcpy.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_memset.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_misc.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_vload.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_geometric.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_image.h
[ 13%] Copy the header: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_work_group.h
[ 13%] Generate the header by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_common.h
[ 13%] Generate the header by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_relational.h
[ 13%] Generate the header by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_integer.h
[ 13%] Generate the header by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_math.h
[ 13%] Generate the header by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_simd.h
[ 13%] Generate the header by script: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_as.h
[ 16%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_workitem.cl
[ 16%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_atom.cl
[ 16%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_atom.cl
[ 16%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_async.cl
[ 16%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_async.cl
[ 16%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_sync.cl
[ 16%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_sync.cl
[ 16%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_memcpy.cl
[ 16%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_memcpy.cl
[ 16%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_memset.cl
[ 20%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_memset.cl
[ 20%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_misc.cl
[ 20%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_misc.cl
[ 20%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_vload.cl
[ 20%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_vload.cl
[ 23%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_geometric.cl
[ 23%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_geometric.cl
[ 23%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_image.cl
[ 23%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_image.cl
[ 23%] Copy the source: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_work_group.cl
[ 23%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_work_group.cl
[ 23%] Generate the source by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_common.cl
[ 23%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_common.cl
[ 23%] Generate the source by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_relational.cl
[ 23%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_relational.cl
[ 23%] Generate the source by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_integer.cl
[ 23%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_integer.cl
[ 23%] Generate the source by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_math.cl
[ 23%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_math.cl
[ 26%] Generate the source by python: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_simd.cl
[ 26%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_simd.cl
[ 26%] Generate the source by script: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_as.cl
[ 26%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_as.cl
[ 26%] Generate the source by script: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_convert.cl
[ 26%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_convert.cl
[ 26%] Copy the LL file: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_barrier.ll
[ 26%] Compiling /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl/src/ocl_barrier.ll
[ 26%] Generate the bitcode file: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//beignet.bc
[ 26%] Generate the pch file: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//beignet.pch
/home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl.h:116:9: warning: 'cl_intel_subgroups' macro redefined [-Wmacro-redefined]
#define cl_intel_subgroups
        ^
<built-in>:349:9: note: previous definition is here
#define cl_intel_subgroups 1
        ^
1 warning generated.
[ 26%] Generate the pch file: /home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//beignet.local.pch
/home/ain/projects/opencl/beignet-Release_v1.2.1/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl.h:116:9: warning: 'cl_intel_subgroups' macro redefined [-Wmacro-redefined]
#define cl_intel_subgroups
        ^
<built-in>:349:9: note: previous definition is here
#define cl_intel_subgroups 1
        ^
1 warning generated.
[ 26%] Built target beignet_bitcode
[ 26%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/intrusive_list.cpp.o
[ 26%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/assert.cpp.o
[ 26%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/alloc.cpp.o
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/mutex.cpp.o
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/platform.cpp.o
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/sys/cvar.cpp.o
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/context.cpp.o
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/instruction.hpp:28,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/context.hpp:27,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/context.cpp:24:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp: In constructor ‘gbe::ir::Immediate::Immediate(gbe::ir::half*, uint32_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:159:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class gbe::ir::half’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  159 |       memcpy(this->data.FIELD, FIELD, ELEMNUM * getTypeSize()); \
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:172:5: note: in expansion of macro ‘DECL_CONSTRUCTOR’
  172 |     DECL_CONSTRUCTOR(half, f16, TYPE_HALF, elemNum)
      |     ^~~~~~~~~~~~~~~~
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:30:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/half.hpp:34:9: note: ‘class gbe::ir::half’ declared here
   34 |   class half
      |         ^~~~
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/profile.cpp.o
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/function.hpp:27,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/profile.cpp:25:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp: In constructor ‘gbe::ir::Immediate::Immediate(gbe::ir::half*, uint32_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:159:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class gbe::ir::half’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  159 |       memcpy(this->data.FIELD, FIELD, ELEMNUM * getTypeSize()); \
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:172:5: note: in expansion of macro ‘DECL_CONSTRUCTOR’
  172 |     DECL_CONSTRUCTOR(half, f16, TYPE_HALF, elemNum)
      |     ^~~~~~~~~~~~~~~~
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:30:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/half.hpp:34:9: note: ‘class gbe::ir::half’ declared here
   34 |   class half
      |         ^~~~
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/type.cpp.o
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/unit.cpp.o
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/function.hpp:27,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/unit.cpp:25:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp: In constructor ‘gbe::ir::Immediate::Immediate(gbe::ir::half*, uint32_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:159:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class gbe::ir::half’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  159 |       memcpy(this->data.FIELD, FIELD, ELEMNUM * getTypeSize()); \
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:172:5: note: in expansion of macro ‘DECL_CONSTRUCTOR’
  172 |     DECL_CONSTRUCTOR(half, f16, TYPE_HALF, elemNum)
      |     ^~~~~~~~~~~~~~~~
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:30:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/half.hpp:34:9: note: ‘class gbe::ir::half’ declared here
   34 |   class half
      |         ^~~~
[ 30%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/constant.cpp.o
[ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/sampler.cpp.o
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/instruction.hpp:28,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/context.hpp:27,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/sampler.cpp:24:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp: In constructor ‘gbe::ir::Immediate::Immediate(gbe::ir::half*, uint32_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:159:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class gbe::ir::half’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  159 |       memcpy(this->data.FIELD, FIELD, ELEMNUM * getTypeSize()); \
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:172:5: note: in expansion of macro ‘DECL_CONSTRUCTOR’
  172 |     DECL_CONSTRUCTOR(half, f16, TYPE_HALF, elemNum)
      |     ^~~~~~~~~~~~~~~~
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:30:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/half.hpp:34:9: note: ‘class gbe::ir::half’ declared here
   34 |   class half
      |         ^~~~
[ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/image.cpp.o
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/instruction.hpp:28,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/image.hpp:27,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/image.cpp:23:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp: In constructor ‘gbe::ir::Immediate::Immediate(gbe::ir::half*, uint32_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:159:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class gbe::ir::half’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  159 |       memcpy(this->data.FIELD, FIELD, ELEMNUM * getTypeSize()); \
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:172:5: note: in expansion of macro ‘DECL_CONSTRUCTOR’
  172 |     DECL_CONSTRUCTOR(half, f16, TYPE_HALF, elemNum)
      |     ^~~~~~~~~~~~~~~~
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/immediate.hpp:30:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/./ir/half.hpp:34:9: note: ‘class gbe::ir::half’ declared here
   34 |   class half
      |         ^~~~
[ 33%] Building CXX object backend/src/CMakeFiles/gbe.dir/ir/half.cpp.o
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp: In function ‘llvm::APFloat gbe::ir::convU16ToAPFloat(uint16_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp:32:56: error: no matching function for call to ‘llvm::APFloat::APFloat(const llvm::fltSemantics& (&)(), llvm::APInt&)’
   32 |     return llvm::APFloat(llvm::APFloat::IEEEhalf, apInt);
      |                                                        ^
In file included from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.hpp:27,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp:24:
/usr/include/llvm/ADT/APFloat.h:867:3: note: candidate: ‘template<class T, class> llvm::APFloat::APFloat(const llvm::fltSemantics&, T)’ (deleted)
  867 |   APFloat(const fltSemantics &Semantics, T V) = delete;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:867:3: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/12/bits/stl_pair.h:60,
                 from /usr/include/c++/12/bits/stl_algobase.h:64,
                 from /usr/include/c++/12/bits/specfun.h:45,
                 from /usr/include/c++/12/cmath:1935,
                 from /usr/include/llvm/Support/MathExtras.h:19,
                 from /usr/include/llvm/ADT/APInt.h:19,
                 from /usr/include/llvm/ADT/APSInt.h:18,
                 from /home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp:23:
/usr/include/c++/12/type_traits: In substitution of ‘template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = void]’:
/usr/include/llvm/ADT/APFloat.h:866:13:   required from here
/usr/include/c++/12/type_traits:2614:11: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
 2614 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:875:3: note: candidate: ‘llvm::APFloat::APFloat(llvm::APFloat&&)’
  875 |   APFloat(APFloat &&RHS) = default;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:875:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:874:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::APFloat&)’
  874 |   APFloat(const APFloat &RHS) = default;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:874:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:873:12: note: candidate: ‘llvm::APFloat::APFloat(float)’
  873 |   explicit APFloat(float f) : U(IEEEFloat(f), IEEEsingle()) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:873:12: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:872:12: note: candidate: ‘llvm::APFloat::APFloat(double)’
  872 |   explicit APFloat(double d) : U(IEEEFloat(d), IEEEdouble()) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:872:12: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:871:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, const llvm::APInt&)’
  871 |   APFloat(const fltSemantics &Semantics, const APInt &I) : U(Semantics, I) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:871:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  871 |   APFloat(const fltSemantics &Semantics, const APInt &I) : U(Semantics, I) {}
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:869:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::APFloatBase::uninitializedTag)’
  869 |   APFloat(const fltSemantics &Semantics, uninitializedTag)
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:869:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  869 |   APFloat(const fltSemantics &Semantics, uninitializedTag)
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:864:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::APFloatBase::integerPart)’
  864 |   APFloat(const fltSemantics &Semantics, integerPart I) : U(Semantics, I) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:864:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  864 |   APFloat(const fltSemantics &Semantics, integerPart I) : U(Semantics, I) {}
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:863:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::StringRef)’
  863 |   APFloat(const fltSemantics &Semantics, StringRef S);
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:863:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  863 |   APFloat(const fltSemantics &Semantics, StringRef S);
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:862:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&)’
  862 |   APFloat(const fltSemantics &Semantics) : U(Semantics) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:862:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:848:12: note: candidate: ‘llvm::APFloat::APFloat(DoubleAPFloat, const llvm::fltSemantics&)’
  848 |   explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:848:34: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘llvm::APFloat::DoubleAPFloat’ {aka ‘llvm::detail::DoubleAPFloat’}
  848 |   explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
      |                    ~~~~~~~~~~~~~~^
/usr/include/llvm/ADT/APFloat.h:847:12: note: candidate: ‘llvm::APFloat::APFloat(IEEEFloat, const llvm::fltSemantics&)’
  847 |   explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:847:30: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘llvm::APFloat::IEEEFloat’ {aka ‘llvm::detail::IEEEFloat’}
  847 |   explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
      |                    ~~~~~~~~~~^
/usr/include/llvm/ADT/APFloat.h:843:3: note: candidate: ‘llvm::APFloat::APFloat()’
  843 |   APFloat() : U(IEEEdouble()) {
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:843:3: note:   candidate expects 0 arguments, 2 provided
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp: In member function ‘gbe::ir::half::operator float() const’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp:45:21: error: cannot convert ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
   45 |     apf_self.convert(llvm::APFloat::IEEEsingle, llvm::APFloat::rmNearestTiesToEven, &loseInfo);
      |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:1102:40: note:   initializing argument 1 of ‘llvm::APFloatBase::opStatus llvm::APFloat::convert(const llvm::fltSemantics&, llvm::APFloatBase::roundingMode, bool*)’
 1102 |   opStatus convert(const fltSemantics &ToSemantics, roundingMode RM,
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp: In member function ‘gbe::ir::half::operator double() const’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp:52:21: error: cannot convert ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
   52 |     apf_self.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, &loseInfo);
      |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:1102:40: note:   initializing argument 1 of ‘llvm::APFloatBase::opStatus llvm::APFloat::convert(const llvm::fltSemantics&, llvm::APFloatBase::roundingMode, bool*)’
 1102 |   opStatus convert(const fltSemantics &ToSemantics, roundingMode RM,
      |                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp: In static member function ‘static gbe::ir::half gbe::ir::half::convToHalf(uint16_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp:73:73: error: no matching function for call to ‘llvm::APFloat::APFloat(const llvm::fltSemantics& (&)(), llvm::APInt)’
   73 |     llvm::APFloat res(llvm::APFloat::IEEEhalf, llvm::APInt(16, 0, false));
      |                                                                         ^
/usr/include/llvm/ADT/APFloat.h:867:3: note: candidate: ‘template<class T, class> llvm::APFloat::APFloat(const llvm::fltSemantics&, T)’ (deleted)
  867 |   APFloat(const fltSemantics &Semantics, T V) = delete;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:867:3: note:   template argument deduction/substitution failed:
/usr/include/llvm/ADT/APFloat.h:875:3: note: candidate: ‘llvm::APFloat::APFloat(llvm::APFloat&&)’
  875 |   APFloat(APFloat &&RHS) = default;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:875:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:874:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::APFloat&)’
  874 |   APFloat(const APFloat &RHS) = default;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:874:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:873:12: note: candidate: ‘llvm::APFloat::APFloat(float)’
  873 |   explicit APFloat(float f) : U(IEEEFloat(f), IEEEsingle()) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:873:12: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:872:12: note: candidate: ‘llvm::APFloat::APFloat(double)’
  872 |   explicit APFloat(double d) : U(IEEEFloat(d), IEEEdouble()) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:872:12: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:871:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, const llvm::APInt&)’
  871 |   APFloat(const fltSemantics &Semantics, const APInt &I) : U(Semantics, I) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:871:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  871 |   APFloat(const fltSemantics &Semantics, const APInt &I) : U(Semantics, I) {}
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:869:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::APFloatBase::uninitializedTag)’
  869 |   APFloat(const fltSemantics &Semantics, uninitializedTag)
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:869:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  869 |   APFloat(const fltSemantics &Semantics, uninitializedTag)
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:864:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::APFloatBase::integerPart)’
  864 |   APFloat(const fltSemantics &Semantics, integerPart I) : U(Semantics, I) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:864:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  864 |   APFloat(const fltSemantics &Semantics, integerPart I) : U(Semantics, I) {}
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:863:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::StringRef)’
  863 |   APFloat(const fltSemantics &Semantics, StringRef S);
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:863:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  863 |   APFloat(const fltSemantics &Semantics, StringRef S);
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:862:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&)’
  862 |   APFloat(const fltSemantics &Semantics) : U(Semantics) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:862:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:848:12: note: candidate: ‘llvm::APFloat::APFloat(DoubleAPFloat, const llvm::fltSemantics&)’
  848 |   explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:848:34: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘llvm::APFloat::DoubleAPFloat’ {aka ‘llvm::detail::DoubleAPFloat’}
  848 |   explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
      |                    ~~~~~~~~~~~~~~^
/usr/include/llvm/ADT/APFloat.h:847:12: note: candidate: ‘llvm::APFloat::APFloat(IEEEFloat, const llvm::fltSemantics&)’
  847 |   explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:847:30: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘llvm::APFloat::IEEEFloat’ {aka ‘llvm::detail::IEEEFloat’}
  847 |   explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
      |                    ~~~~~~~~~~^
/usr/include/llvm/ADT/APFloat.h:843:3: note: candidate: ‘llvm::APFloat::APFloat()’
  843 |   APFloat() : U(IEEEdouble()) {
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:843:3: note:   candidate expects 0 arguments, 2 provided
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp: In static member function ‘static gbe::ir::half gbe::ir::half::convToHalf(int16_t)’:
/home/ain/projects/opencl/beignet-Release_v1.2.1/backend/src/ir/half.cpp:81:72: error: no matching function for call to ‘llvm::APFloat::APFloat(const llvm::fltSemantics& (&)(), llvm::APInt)’
   81 |     llvm::APFloat res(llvm::APFloat::IEEEhalf, llvm::APInt(16, 0, true));
      |                                                                        ^
/usr/include/llvm/ADT/APFloat.h:867:3: note: candidate: ‘template<class T, class> llvm::APFloat::APFloat(const llvm::fltSemantics&, T)’ (deleted)
  867 |   APFloat(const fltSemantics &Semantics, T V) = delete;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:867:3: note:   template argument deduction/substitution failed:
/usr/include/llvm/ADT/APFloat.h:875:3: note: candidate: ‘llvm::APFloat::APFloat(llvm::APFloat&&)’
  875 |   APFloat(APFloat &&RHS) = default;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:875:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:874:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::APFloat&)’
  874 |   APFloat(const APFloat &RHS) = default;
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:874:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:873:12: note: candidate: ‘llvm::APFloat::APFloat(float)’
  873 |   explicit APFloat(float f) : U(IEEEFloat(f), IEEEsingle()) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:873:12: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:872:12: note: candidate: ‘llvm::APFloat::APFloat(double)’
  872 |   explicit APFloat(double d) : U(IEEEFloat(d), IEEEdouble()) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:872:12: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:871:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, const llvm::APInt&)’
  871 |   APFloat(const fltSemantics &Semantics, const APInt &I) : U(Semantics, I) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:871:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  871 |   APFloat(const fltSemantics &Semantics, const APInt &I) : U(Semantics, I) {}
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:869:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::APFloatBase::uninitializedTag)’
  869 |   APFloat(const fltSemantics &Semantics, uninitializedTag)
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:869:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  869 |   APFloat(const fltSemantics &Semantics, uninitializedTag)
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:864:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::APFloatBase::integerPart)’
  864 |   APFloat(const fltSemantics &Semantics, integerPart I) : U(Semantics, I) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:864:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  864 |   APFloat(const fltSemantics &Semantics, integerPart I) : U(Semantics, I) {}
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:863:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&, llvm::StringRef)’
  863 |   APFloat(const fltSemantics &Semantics, StringRef S);
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:863:31: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘const llvm::fltSemantics&’
  863 |   APFloat(const fltSemantics &Semantics, StringRef S);
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/llvm/ADT/APFloat.h:862:3: note: candidate: ‘llvm::APFloat::APFloat(const llvm::fltSemantics&)’
  862 |   APFloat(const fltSemantics &Semantics) : U(Semantics) {}
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:862:3: note:   candidate expects 1 argument, 2 provided
/usr/include/llvm/ADT/APFloat.h:848:12: note: candidate: ‘llvm::APFloat::APFloat(DoubleAPFloat, const llvm::fltSemantics&)’
  848 |   explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:848:34: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘llvm::APFloat::DoubleAPFloat’ {aka ‘llvm::detail::DoubleAPFloat’}
  848 |   explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
      |                    ~~~~~~~~~~~~~~^
/usr/include/llvm/ADT/APFloat.h:847:12: note: candidate: ‘llvm::APFloat::APFloat(IEEEFloat, const llvm::fltSemantics&)’
  847 |   explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
      |            ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:847:30: note:   no known conversion for argument 1 from ‘const llvm::fltSemantics&()’ to ‘llvm::APFloat::IEEEFloat’ {aka ‘llvm::detail::IEEEFloat’}
  847 |   explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
      |                    ~~~~~~~~~~^
/usr/include/llvm/ADT/APFloat.h:843:3: note: candidate: ‘llvm::APFloat::APFloat()’
  843 |   APFloat() : U(IEEEdouble()) {
      |   ^~~~~~~
/usr/include/llvm/ADT/APFloat.h:843:3: note:   candidate expects 0 arguments, 2 provided
make[2]: *** [backend/src/CMakeFiles/gbe.dir/build.make:258: backend/src/CMakeFiles/gbe.dir/ir/half.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:295: backend/src/CMakeFiles/gbe.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
ain@clr-d01c6ad8576e4167aa66d31117d73cb0~/projects/opencl/beignet-Release_v1.2.1/build $ 


@MajidAbdelilah
Copy link
Author

do you guys do any testing on this library i got a felling telling me that this is more like cyberpunk

@MajidAbdelilah
Copy link
Author

sorry thought

@linnaea
Copy link

linnaea commented Jun 7, 2022

It's abandoned since 2018, use compute-runtime anything newer than Broadwell and Apollo Lake.

For pre-BDW and pre-APL just don't bother, they're slow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants