Skip to content

Commit

Permalink
prof_tool: Fix getting CPU devid
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Nov 6, 2023
1 parent 946aa85 commit 34c8cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/cpu/driver_cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static int execute_job_on_cpu(struct _starpu_job *j, struct starpu_task *worker_
struct starpu_codelet *cl = task->cl;
#ifdef STARPU_PROF_TOOL
struct starpu_prof_tool_info pi;
int devid = rank; // CC: unsure
int devid = cpu_args->devid;
#endif

STARPU_ASSERT(cl);
Expand Down

0 comments on commit 34c8cf9

Please sign in to comment.