Skip to content

Commit

Permalink
timing the single patch permutation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahdhn committed Sep 16, 2024
1 parent 95bcdc7 commit 7b5aaee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions include/rxmesh/matrix/nd_permute.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,21 @@ void permute_separators(RXMeshStatic& rx,
int* d_patch_proj_l,
int* d_patch_proj_l1)
{


CPUTimer timer;
GPUTimer gtimer;

single_patch_nd_permute(rx, v_local_permute);


timer.stop();
gtimer.stop();

RXMESH_INFO("single_patch_nd_permute took {} (ms), {} (ms)",
timer.elapsed_millis(),
gtimer.elapsed_millis());

v_index.reset(-1, DEVICE);

constexpr uint32_t blockThreads = 256;
Expand Down

0 comments on commit 7b5aaee

Please sign in to comment.