We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5de3ae6 commit 06e3a92Copy full SHA for 06e3a92
sycl/include/sycl/detail/cg_types.hpp
@@ -238,6 +238,8 @@ class HostKernel : public HostKernelBase {
238
// the class keeps reference to a lambda allocated externally on stack
239
class HostKernelRefBase : public HostKernelBase {
240
public:
241
+ HostKernelRefBase() = default;
242
+ HostKernelRefBase(const HostKernelRefBase &) = delete;
243
HostKernelRefBase &operator=(const HostKernelRefBase &) = delete;
244
245
virtual std::unique_ptr<HostKernelBase> takeOrCopyOwnership() const = 0;
0 commit comments