Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ struct ContextInfo {
assert(Result == UR_RESULT_SUCCESS);
}

ContextInfo(const ContextInfo &) = delete;

ContextInfo &operator=(const ContextInfo &) = delete;

void insertAllocInfo(ur_device_handle_t Device,
std::shared_ptr<TsanAllocInfo> &AI);
};
Expand All @@ -82,6 +86,10 @@ struct TsanRuntimeDataWrapper {

~TsanRuntimeDataWrapper();

TsanRuntimeDataWrapper(const TsanRuntimeDataWrapper &) = delete;

TsanRuntimeDataWrapper &operator=(const TsanRuntimeDataWrapper &) = delete;

TsanRuntimeData *getDevicePtr();

ur_result_t syncFromDevice(ur_queue_handle_t Queue);
Expand Down Expand Up @@ -110,6 +118,10 @@ struct LaunchInfo {
Result = getContext()->urDdiTable.Device.pfnRelease(Device);
assert(Result == UR_RESULT_SUCCESS);
}

LaunchInfo(const LaunchInfo &) = delete;

LaunchInfo &operator=(const LaunchInfo &) = delete;
};

class TsanInterceptor {
Expand Down