Skip to content

Commit a965e12

Browse files
committed
Only mark device type in launch info as deprecated
1 parent 2242558 commit a965e12

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

unified-runtime/source/loader/layers/sanitizer/asan/asan_libdevice.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ struct AsanRuntimeData {
6969
LocalArgsInfo *LocalArgs = nullptr; // Ordered by ArgIndex
7070
uint32_t NumLocalArgs = 0;
7171

72+
[[deprecated]] DeviceType DeviceTy = DeviceType::UNKNOWN;
7273
uint32_t Debug = 0;
7374

7475
int ReportFlag = 0;

unified-runtime/source/loader/layers/sanitizer/msan/msan_libdevice.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ struct MsanRuntimeData {
6464

6565
uintptr_t CleanShadow = 0;
6666

67+
[[deprecated]] DeviceType DeviceTy = DeviceType::UNKNOWN;
6768
uint32_t Debug = 0;
6869
uint32_t IsRecover = 0;
6970

unified-runtime/source/loader/layers/sanitizer/tsan/tsan_libdevice.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ struct TsanRuntimeData {
9999
// The last one is to record global state
100100
VectorClock Clock[kThreadSlotCount + 1];
101101

102+
[[deprecated]] DeviceType DeviceTy = DeviceType::UNKNOWN;
103+
102104
uint32_t Debug = 0;
103105

104106
int Lock = 0;

0 commit comments

Comments
 (0)