File tree Expand file tree Collapse file tree 5 files changed +15
-2
lines changed Expand file tree Collapse file tree 5 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,13 @@ class __SYCL_EXPORT tls_code_loc_t {
134
134
// / @brief Iniitializes TLS with CodeLoc if a TLS entry not present
135
135
// / @param CodeLoc The code location information to set up the TLS slot with.
136
136
tls_code_loc_t (const detail::code_location &CodeLoc);
137
+
138
+ #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
139
+ // Used to maintain global state (GCodeLocTLS), so we do not want to copy
140
+ tls_code_loc_t (const tls_code_loc_t &) = delete;
141
+ tls_code_loc_t &operator =(const tls_code_loc_t &) = delete ;
142
+ #endif // __INTEL_PREVIEW_BREAKING_CHANGES
143
+
137
144
// / If the code location is set up by this instance, reset it.
138
145
~tls_code_loc_t ();
139
146
// / @brief Query the information in the TLS slot
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ template <typename T> struct TempAssignGuard {
45
45
TempAssignGuard (T &fld, T tempVal) : field(fld), restoreValue(fld) {
46
46
field = tempVal;
47
47
}
48
+ TempAssignGuard (const TempAssignGuard<T> &) = delete ;
49
+ TempAssignGuard operator =(const TempAssignGuard<T> &) = delete ;
48
50
~TempAssignGuard () { field = restoreValue; }
49
51
};
50
52
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ namespace experimental {
43
43
class pipe_base {
44
44
45
45
protected:
46
- pipe_base ();
47
- ~pipe_base ();
46
+ pipe_base () = default ;
47
+ ~pipe_base () = default ;
48
48
49
49
__SYCL_EXPORT static std::string get_pipe_name (const void *HostPipePtr);
50
50
__SYCL_EXPORT static bool wait_non_blocking (const event &E);
Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ class image_mem_impl {
39
39
const context &syclContext);
40
40
__SYCL_EXPORT ~image_mem_impl ();
41
41
42
+ image_mem_impl (const image_mem_impl &) = delete ;
43
+ image_mem_impl &operator =(const image_mem_impl &) = delete ;
44
+
42
45
raw_handle_type get_handle () const { return handle; }
43
46
const image_descriptor &get_descriptor () const { return descriptor; }
44
47
sycl::device get_device () const { return syclDevice; }
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ class barrier {
33
33
barrier (barrier &&other) noexcept = delete ;
34
34
barrier &operator =(const barrier &other) = delete ;
35
35
barrier &operator =(barrier &&other) noexcept = delete ;
36
+ ~barrier () = default ;
36
37
37
38
void initialize (uint32_t expected_count) {
38
39
#ifdef __SYCL_DEVICE_ONLY__
You can’t perform that action at this time.
0 commit comments