Skip to content

Commit

Permalink
fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
nfurmento committed Feb 10, 2025
1 parent 985e34c commit 09fbb4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mpi/src/starpu_mpi_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ void _starpu_mpi_do_initialize(struct _starpu_mpi_argc_argv *argc_argv)
gpu_device = _starpu_mpi_hip_devid;
}

if (gpu_device >= 0) {
if (gpu_device >= 0)
{
_STARPU_DISP("Warning: MPI GPUDirect is enabled using the PSM2 driver, but StarPU will be driving several CUDA GPUs.\n");
_STARPU_DISP("Since the PSM2 driver only supports one CUDA GPU at a time for GPU Direct (at least as of its version 11.2.185), StarPU-MPI will use GPU Direct only for CUDA%d.\n", gpu_device);
_STARPU_DISP("To get GPU Direct working with all CUDA GPUs with the PSM2 driver, you will unfortunately have to run one MPI rank per GPU.\n");
Expand Down
3 changes: 2 additions & 1 deletion tests/datawizard/specific_node.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ int main(void)
for (i = 0; i < ntasks; i++)
{
struct starpu_task *task = starpu_task_create();
switch (i%8) {
switch (i%8)
{
case 0:
task->cl = &specific_cl;
break;
Expand Down

0 comments on commit 09fbb4d

Please sign in to comment.