Skip to content

Commit

Permalink
Merge pull request #278 from shaulerez/serez-dev
Browse files Browse the repository at this point in the history
Write cuda device id to json file
  • Loading branch information
sshaulnv authored Aug 27, 2024
2 parents 10fbd0b + 2e71a76 commit ff16a95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/perftest_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -3838,6 +3838,9 @@ static void write_test_info_to_file(int out_json_fds, struct perftest_parameters

dprintf(out_json_fds, "\"rdma_cm_QPs\": \"%s\",\n",qp_state[user_param->work_rdma_cm]);

if (user_param->memory_type == MEMORY_CUDA)
dprintf(out_json_fds, "\"cuda_device\": %d,\n",user_param->cuda_device_id);

if (user_param->use_rdma_cm)
temp = 1;

Expand Down

0 comments on commit ff16a95

Please sign in to comment.