Skip to content

Commit 37f68c8

Browse files
Fix Windows ABI break
1 parent 737e745 commit 37f68c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/include/sycl/detail/get_device_kernel_info.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ template <class Kernel> DeviceKernelInfo &getDeviceKernelInfo() {
3030
}
3131

3232
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
33-
class KernelNameBasedCacheT;
33+
struct KernelNameBasedCacheT;
3434
__SYCL_EXPORT KernelNameBasedCacheT *createKernelNameBasedCache();
3535
#endif
3636

sycl/source/detail/global_handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ods_target_list;
3030
class XPTIRegistry;
3131
class ThreadPool;
3232
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
33-
class KernelNameBasedCacheT;
33+
struct KernelNameBasedCacheT;
3434
class DeviceKernelInfo;
3535
#endif
3636

0 commit comments

Comments
 (0)