You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use MemoryAccessFlags instead of MemoryAccessType when binding (pytorch#5591)
Summary:
Pull Request resolved: pytorch#5591
## Context
Correct `ComputeGraph` functions to accept `MemoryAccessFlags` instead of `MemoryAccessType`. `MemoryAccessType` correspond to only a single bit, i.e. `READ` or `WRITE` but `MemoryAccessFlags` allows us to express a combination of bits which is the intended behaviour.
ghstack-source-id: 244431148
exported-using-ghexport
Reviewed By: jorgep31415
Differential Revision: D63327080
fbshipit-source-id: a4ca6b9f6dfb9a998932b934a2a230fbb3d7c06a
0 commit comments