Skip to content

Commit

Permalink
Fixed the indentation issue in sanity.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pakmarkthub committed Jul 15, 2019
1 parent 69b7570 commit 4087948
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions sanity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,17 @@ START_TEST(basic)
ASSERT_NEQ(g, (void*)0);

gdr_mh_t mh = null_mh;
CUdeviceptr d_ptr = d_A;
CUdeviceptr d_ptr = d_A;

// tokens are optional in CUDA 6.0
// wave out the test if GPUDirectRDMA is not enabled
ck_assert_int_eq(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh), 0);
ASSERT_NEQ(mh, null_mh);
ASSERT_EQ(gdr_unpin_buffer(g, mh), 0);
// tokens are optional in CUDA 6.0
// wave out the test if GPUDirectRDMA is not enabled
ck_assert_int_eq(gdr_pin_buffer(g, d_ptr, size, 0, 0, &mh), 0);
ASSERT_NEQ(mh, null_mh);
ASSERT_EQ(gdr_unpin_buffer(g, mh), 0);
ASSERT_EQ(gdr_close(g), 0);

ASSERTDRV(cuMemFree(d_A));

print_dbg("End basic\n");
}
END_TEST
Expand Down

0 comments on commit 4087948

Please sign in to comment.