mirror of https://gitee.com/openkylin/ocl-icd.git
!1 在rv64g架构中,代码中函数未定义,导致链接器无法解析该函数
Merge pull request !1 from lundi001/openkylin/yangtze
This commit is contained in:
commit
367fe300e1
|
@ -1,3 +1,10 @@
|
|||
ocl-icd (2.2.11-ok2) yangtze; urgency=medium
|
||||
|
||||
* In the ocl_icd_loader.c file, change the function inline void
|
||||
dump_vendor_icd on line 56 to static inline void dump_vendor_icd
|
||||
|
||||
-- root <zhouningyi@smart-core.cn> Wed, 06 Mar 2024 05:34:58 +0000
|
||||
|
||||
ocl-icd (2.2.11-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
|
|
@ -53,11 +53,17 @@ int debug_ocl_icd_mask=0;
|
|||
|
||||
typedef __typeof__(clGetPlatformInfo) *clGetPlatformInfo_fn;
|
||||
|
||||
inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
|
||||
debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info,
|
||||
v, v->num_platforms, v->dl_handle, v->ext_fn_ptr);
|
||||
// inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
|
||||
// debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info,
|
||||
// v, v->num_platforms, v->dl_handle, v->ext_fn_ptr);
|
||||
// }
|
||||
|
||||
static inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
|
||||
debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info,
|
||||
v, v->num_platforms, v->dl_handle, v->ext_fn_ptr);
|
||||
}
|
||||
|
||||
|
||||
struct vendor_icd *_icds=NULL;
|
||||
struct platform_icd *_picds=NULL;
|
||||
static cl_uint _num_icds = 0;
|
||||
|
|
Loading…
Reference in New Issue