File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
unified-runtime/source/loader/layers/sanitizer/tsan Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ struct ContextInfo {
6464 assert (Result == UR_RESULT_SUCCESS);
6565 }
6666
67+ ContextInfo (const ContextInfo &) = delete ;
68+
69+ ContextInfo &operator =(const ContextInfo &) = delete ;
70+
6771 void insertAllocInfo (ur_device_handle_t Device,
6872 std::shared_ptr<TsanAllocInfo> &AI);
6973};
@@ -82,6 +86,10 @@ struct TsanRuntimeDataWrapper {
8286
8387 ~TsanRuntimeDataWrapper ();
8488
89+ TsanRuntimeDataWrapper (const TsanRuntimeDataWrapper &) = delete ;
90+
91+ TsanRuntimeDataWrapper &operator =(const TsanRuntimeDataWrapper &) = delete ;
92+
8593 TsanRuntimeData *getDevicePtr ();
8694
8795 ur_result_t syncFromDevice (ur_queue_handle_t Queue);
@@ -110,6 +118,10 @@ struct LaunchInfo {
110118 Result = getContext ()->urDdiTable .Device .pfnRelease (Device);
111119 assert (Result == UR_RESULT_SUCCESS);
112120 }
121+
122+ LaunchInfo (const LaunchInfo &) = delete ;
123+
124+ LaunchInfo &operator =(const LaunchInfo &) = delete ;
113125};
114126
115127class TsanInterceptor {
You can’t perform that action at this time.
0 commit comments