Remove redundant offset def and init in shared_load_iterator.h (#456)
Signed-off-by: Fujun Han <fujun.han@iluvatar.ai>
This commit is contained in:
parent
be4578d517
commit
dd77fadc70
@ -144,9 +144,6 @@ public:
|
|||||||
byte_pointer_ +=
|
byte_pointer_ +=
|
||||||
thread_offset.row() * stride_ +
|
thread_offset.row() * stride_ +
|
||||||
thread_offset.column() * sizeof(AccessType) / kElementsPerAccess;
|
thread_offset.column() * sizeof(AccessType) / kElementsPerAccess;
|
||||||
|
|
||||||
int byte_offset = thread_offset.row() * stride_ +
|
|
||||||
thread_offset.column() * sizeof(AccessType) / kElementsPerAccess;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Adds a pointer offset in units of Element
|
/// Adds a pointer offset in units of Element
|
||||||
|
Loading…
Reference in New Issue
Block a user