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
Description
Refactor all serialization and deserialization methods to remove parameters, enabling centralized state management via OperationManager. This mirrors the existing copyToGPU, copyFromGPU, and deallocateGPUMemory refactors for consistency and unified execution control.
Currently, serialization and deserialization rely on direct method calls with parameters passed across various classes. This change enables centralized execution by registering parameterless serialization and deserialization functions with the OperationManager.
Tasks
Refactor serialize methods in AllVertices and all child vertex classes to take no parameters.
Refactor deserialize methods in AllVertices and all child vertex classes to take no parameters.
Refactor serialize and deserialize methods in AllEdges and all child edge classes to take no parameters.
Move any required data into member variables to support the new parameterless structure.
Implement serialize and deserialize as registered operations.
Register serialize and deserialize in the constructors of AllVertices and AllEdges.
Use #ifdef USE_GPU to guard GPU-specific serialization code, if applicable.
Invoke OperationManager::execute("serialize") and OperationManager::execute("deserialize") at the appropriate points to trigger centralized execution.
The text was updated successfully, but these errors were encountered:
Description
Refactor all serialization and deserialization methods to remove parameters, enabling centralized state management via OperationManager. This mirrors the existing copyToGPU, copyFromGPU, and deallocateGPUMemory refactors for consistency and unified execution control.
Currently, serialization and deserialization rely on direct method calls with parameters passed across various classes. This change enables centralized execution by registering parameterless serialization and deserialization functions with the OperationManager.
Tasks
Refactor serialize methods in AllVertices and all child vertex classes to take no parameters.
Refactor deserialize methods in AllVertices and all child vertex classes to take no parameters.
Refactor serialize and deserialize methods in AllEdges and all child edge classes to take no parameters.
Move any required data into member variables to support the new parameterless structure.
Implement serialize and deserialize as registered operations.
Register serialize and deserialize in the constructors of AllVertices and AllEdges.
Use #ifdef USE_GPU to guard GPU-specific serialization code, if applicable.
Invoke OperationManager::execute("serialize") and OperationManager::execute("deserialize") at the appropriate points to trigger centralized execution.
The text was updated successfully, but these errors were encountered: