[PATCH 128/144] add POCL_EXPORT to additional symbols needed by the vulkan device
authorAndreas Beckmann <anbe@debian.org>
Thu, 16 Dec 2021 15:06:14 +0000 (16:06 +0100)
committerAndreas Beckmann <anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000 (23:55 +0000)
Gbp-Pq: Name 0128-add-POCL_EXPORT-to-additional-symbols-needed-by-the-.patch

include/pocl_cache.h

index 6980e0eebd831e35ed1c2c78a2881fa62670c99d..1da6a5bfb7041e3bfb7ded0a6f9b387f009d5582 100644 (file)
@@ -38,6 +38,7 @@ extern "C" {
 
 int pocl_cache_init_topdir ();
 
+POCL_EXPORT
 int
 pocl_cache_create_program_cachedir(cl_program program, unsigned device_i,
                                    const char* preprocessed_source, size_t source_len,
@@ -45,6 +46,7 @@ pocl_cache_create_program_cachedir(cl_program program, unsigned device_i,
 
 void pocl_cache_cleanup_cachedir(cl_program program);
 
+POCL_EXPORT
 int pocl_cache_tempname (char *path_template, const char *suffix, int *fd);
 
 int pocl_cache_create_tempdir(char* path);
@@ -105,6 +107,7 @@ void pocl_cache_kernel_cachedir (char *kernel_cachedir_path,
 
 // these two required by llvm API
 
+POCL_EXPORT
 void pocl_cache_program_bc_path(char*       program_bc_path,
                                cl_program   program,
                                unsigned     device_i);