File tree 1 file changed +12
-0
lines changed
unified-runtime/source/loader/layers/sanitizer/tsan
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ struct ContextInfo {
64
64
assert (Result == UR_RESULT_SUCCESS);
65
65
}
66
66
67
+ ContextInfo (const ContextInfo &) = delete ;
68
+
69
+ ContextInfo &operator =(const ContextInfo &) = delete ;
70
+
67
71
void insertAllocInfo (ur_device_handle_t Device,
68
72
std::shared_ptr<TsanAllocInfo> &AI);
69
73
};
@@ -82,6 +86,10 @@ struct TsanRuntimeDataWrapper {
82
86
83
87
~TsanRuntimeDataWrapper ();
84
88
89
+ TsanRuntimeDataWrapper (const TsanRuntimeDataWrapper &) = delete ;
90
+
91
+ TsanRuntimeDataWrapper &operator =(const TsanRuntimeDataWrapper &) = delete ;
92
+
85
93
TsanRuntimeData *getDevicePtr ();
86
94
87
95
ur_result_t syncFromDevice (ur_queue_handle_t Queue);
@@ -110,6 +118,10 @@ struct LaunchInfo {
110
118
Result = getContext ()->urDdiTable .Device .pfnRelease (Device);
111
119
assert (Result == UR_RESULT_SUCCESS);
112
120
}
121
+
122
+ LaunchInfo (const LaunchInfo &) = delete ;
123
+
124
+ LaunchInfo &operator =(const LaunchInfo &) = delete ;
113
125
};
114
126
115
127
class TsanInterceptor {
You can’t perform that action at this time.
0 commit comments