[llvm] [SYCL] Add platform enumeration and info query using liboffload (PR #166927)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 12 06:37:02 PST 2025
================
@@ -41,8 +41,8 @@
# else // _WIN32
-# define _LIBSYCL_DLL_LOCAL [[__gnu__::__visibility__("hidden")]]
-# define _LIBSYCL_EXPORT [[__gnu__::__visibility__("default")]]
+# define _LIBSYCL_DLL_LOCAL __attribute__((visibility("hidden")))
+# define _LIBSYCL_EXPORT __attribute__((visibility("default")))
----------------
KseniyaTikhomirova wrote:
could you please clarify:
are you suggesting to use c++11+ attr everywhere?
or to avoid it everywhere?
https://github.com/llvm/llvm-project/pull/166927
More information about the llvm-commits
mailing list