[llvm] [libsycl] Fix _LIBSYCL_EXPORT placement (PR #201364)
Sergey Semenov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 07:02:56 PDT 2026
https://github.com/sergey-semenov created https://github.com/llvm/llvm-project/pull/201364
Fixes another instance of _LIBSYCL_EXPORT causing compiilation errors on Windows.
>From dc01f037cbcc4c88b96a9591f53f631e9fb3ce92 Mon Sep 17 00:00:00 2001
From: Sergey Semenov <sergey.semenov at intel.com>
Date: Wed, 3 Jun 2026 07:01:20 -0700
Subject: [PATCH] [libsycl] Fix _LIBSYCL_EXPORT placement
Fixes another instance of _LIBSYCL_EXPORT causing compiilation errors
on Windows.
---
libsycl/src/detail/program_manager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsycl/src/detail/program_manager.cpp b/libsycl/src/detail/program_manager.cpp
index 0f29141d29a51..16bcdecbe6f0b 100644
--- a/libsycl/src/detail/program_manager.cpp
+++ b/libsycl/src/detail/program_manager.cpp
@@ -18,7 +18,7 @@
_LIBSYCL_BEGIN_NAMESPACE_SYCL
namespace detail {
-DeviceKernelInfo &_LIBSYCL_EXPORT
+_LIBSYCL_EXPORT DeviceKernelInfo &
getDeviceKernelInfo(std::string_view KernelName) {
return ProgramAndKernelManager::getInstance().getDeviceKernelInfo(KernelName);
}
More information about the llvm-commits
mailing list