Skip to content

Commit

Permalink
Update init.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichel31415 committed Apr 18, 2018
1 parent a5c959a commit ddbf560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynet/init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ DynetParams extract_dynet_params(int& argc,
#if HAVE_CUDA
// Check for conflict between the two ways of requesting GPUs
if (params.ids_requested && params.ngpus_requested)
throw std::invalid_argument("Use only --dynet_gpus or --dynet_gpu_ids, not both\n");
throw std::invalid_argument("Use only --dynet_gpus or --dynet_devices, not both\n");
#endif

return params;
Expand Down

0 comments on commit ddbf560

Please sign in to comment.