Skip to content

Commit

Permalink
Patch ND
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahdhn committed Sep 9, 2024
1 parent 1fdbdb4 commit b6281b8
Show file tree
Hide file tree
Showing 5 changed files with 390 additions and 73 deletions.
4 changes: 3 additions & 1 deletion apps/NDReorder/nd_cross_patch_ordering.cuh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#if 0
#include <stdint.h>

#include <cooperative_groups.h>
Expand Down Expand Up @@ -1004,4 +1005,5 @@ void cross_patch_ordering(rxmesh::RXMeshStatic& rx,
CUDA_ERROR(cudaDeviceSynchronize());
}

} // namespace rxmesh
} // namespace rxmesh
#endif
2 changes: 1 addition & 1 deletion include/rxmesh/matrix/nd_partition_manager.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace rxmesh {

// TODO: change the uniform shared memory allocation to per level allocation for
// less shared memory use
template <uint32_t blockThreads>
template <uint32_t blockThreads, int maxCoarsenLevels>
struct PartitionManager
{
/**
Expand Down
Loading

0 comments on commit b6281b8

Please sign in to comment.