Go to file
周淦清 367fe300e1
!1 在rv64g架构中,代码中函数未定义,导致链接器无法解析该函数
Merge pull request !1 from lundi001/openkylin/yangtze
2024-03-06 06:24:24 +00:00
build-aux Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
debian 修改未定义函数 2024-03-06 05:39:35 +00:00
doc Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
khronos-headers Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
m4 Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
tests Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
COPYING Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
INSTALL Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
Makefile.am Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
Makefile.in Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
NEWS Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
OpenCL.pc.in Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
README Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
aclocal.m4 Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
bootstrap Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
config.guess Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
config.h.in Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
config.sub Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
configure Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
configure.ac Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
icd_generator.rb Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
libdummy_icd.c Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
libdummy_icd.h Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
ocl-icd.pc.in Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
ocl_icd_debug.h Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
ocl_icd_loader.c 修改未定义函数 2024-03-06 05:39:35 +00:00
ocl_icd_loader.h Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
ocl_interface.yaml Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
ocl_test.c Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
ocl_test_icdl.c Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00
run_dummy_icd.c Import Upstream version 2.2.11 2022-06-27 15:01:47 +08:00

README

This package aims at creating an Open Source alternative to vendor specific
OpenCL ICD loaders.

The main difficulties to create such software is that the order of
function pointers in a structure is not publicy available.
  This software maintains a YAML database of all known and guessed
entries.

  If the configure script is called with --enable-update-database,
then:
- a dummy OpenCL implementation using available headers on the system
  is created
- this dummy OpenCL implementation is installed system-wide (root
  access needed) with the file dummy.icd in /etc/OpenCL/vendors/
- a test program then calls every function defined in the
  headers and thus obtains the function mapping inside the demultiplexer
So, if an other OpenCL ICD loader is installed on the system, this
allows us to discover the mapping of new entries in the structure,
entries that are then recoreded in the YAML database.
  Of course, if the currently installed OpenCL ICD loader is this one,
there wont be any problems but no new mapping will be discovered.

This package also delivers a skeleton of bindings to incorporate inside an
OpenCL implementation to give it ICD functionalities.

Main Make targets:
all/check/install/...: builds the library and bindings from database
update-database: adds new functions to the database from the currently
  installed OpenCL ICD Loader. Needs root permission.