Skip to content

Commit

Permalink
Added new profile parameter for nnfdm::CreateResponse API
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfadden8 committed Jun 7, 2024
1 parent 87068a9 commit da33014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/nnfdm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ int nnfdm_start(int id)
, true // If true, store stdout in DataMovementStatusResponse.Message when the command is successful. Failure output is always contained in the message.
, -1 // The number of slots specified in the MPI hostfile. A value of 0 disables the use of slots in the hostfile. -1 will defer to the server side configuration.
, -1 // The number of max_slots specified in the MPI hostfile. A value of 0 disables the use of max_slots in the hostfile. -1 will defer to the server side configuration.
, "" // Data movement profile. Empty will default to the default profile.
);
nnfdm::CreateResponse create_response;
nnfdm::RPCStatus rpc_status = nnfdm_client->Create( *nnfdm_workflow
Expand Down
1 change: 1 addition & 0 deletions test/axl_test_nnfdm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ int main(int argc, char** argv)
, true // If true, store stdout in DataMovementStatusResponse.Message when the command is successful. Failure output is always contained in the message.
, -1 // The number of slots specified in the MPI hostfile. A value of 0 disables the use of slots in the hostfile. -1 will defer to the server side configuration.
, -1 // The number of max_slots specified in the MPI hostfile. A value of 0 disables the use of max_slots in the hostfile. -1 will defer to the server side configuration.
, "" // Data movement profile. Empty will default to the default profile.
);
CreateResponse create_response;

Expand Down

0 comments on commit da33014

Please sign in to comment.