Skip to content

Commit a69cdda

Browse files
authored
[SYCL] Add __SYCL_EXPORT to declaration of contextSetExtendedDeleter (#1531)
Signed-off-by: Stuart Adams <[email protected]>
1 parent ae1b50c commit a69cdda

File tree

1 file changed

+3
-3
lines changed
  • sycl/include/CL/sycl/detail

1 file changed

+3
-3
lines changed

sycl/include/CL/sycl/detail/pi.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ using PiMemObjectType = ::pi_mem_type;
9999
using PiMemImageChannelOrder = ::pi_image_channel_order;
100100
using PiMemImageChannelType = ::pi_image_channel_type;
101101

102-
void contextSetExtendedDeleter(const cl::sycl::context &constext,
103-
pi_context_extended_deleter func,
104-
void *user_data);
102+
__SYCL_EXPORT void contextSetExtendedDeleter(const cl::sycl::context &constext,
103+
pi_context_extended_deleter func,
104+
void *user_data);
105105

106106
// Function to load the shared library
107107
// Implementation is OS dependent.

0 commit comments

Comments
 (0)