From b8f60ad3e9dc83cb334be4970c7bf64d2f629611 Mon Sep 17 00:00:00 2001 From: "Serban D. Porumbescu" Date: Tue, 27 Aug 2024 16:29:33 -0700 Subject: [PATCH] Fix build with updated cuCollections --- apps/CMakeLists.txt | 2 +- apps/SECPriority/CMakeLists.txt | 5 ++--- apps/SECPriority/secp_kernels.cuh | 4 ++-- apps/SECPriority/secp_rxmesh.cuh | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 4b87db1a..9ebd9a57 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -8,7 +8,7 @@ add_subdirectory(XPBD) #add_subdirectory(Simplification) add_subdirectory(SECHistogram) add_subdirectory(Remesh) -#add_subdirectory(SECPriority) +add_subdirectory(SECPriority) add_subdirectory(SurfaceTracking) add_subdirectory(SCP) add_subdirectory(ARAP) diff --git a/apps/SECPriority/CMakeLists.txt b/apps/SECPriority/CMakeLists.txt index b9bd18db..ea1fe9ae 100644 --- a/apps/SECPriority/CMakeLists.txt +++ b/apps/SECPriority/CMakeLists.txt @@ -28,14 +28,13 @@ source_group(TREE ${CMAKE_CURRENT_LIST_DIR} PREFIX "SECPriority" FILES ${SOURCE_ # NVIDIA. CPMAddPackage( NAME cuco - GITHUB_REPOSITORY andrewbriand/cuCollections - GIT_TAG d58dd9fedde721a264c8ae960f7393a3a3b08c58 + GITHUB_REPOSITORY porumbes/cuCollections + GIT_TAG b857b47b812f6e618e5f4e3e3cdcbfa5a3764898 OPTIONS "BUILD_TESTS OFF" "BUILD_BENCHMARKS OFF" "BUILD_EXAMPLES OFF" ) - target_link_libraries(SECPriority PRIVATE RXMesh PRIVATE gtest_main diff --git a/apps/SECPriority/secp_kernels.cuh b/apps/SECPriority/secp_kernels.cuh index bd05b62d..1b775105 100644 --- a/apps/SECPriority/secp_kernels.cuh +++ b/apps/SECPriority/secp_kernels.cuh @@ -1,6 +1,6 @@ #pragma once #include "rxmesh/cavity_manager.cuh" -#include "../ShortestEdgeCollapse/link_condition.cuh" +#include "../Remesh/link_condition.cuh" #include #include @@ -55,7 +55,7 @@ __global__ static void secp(rxmesh::Context context, // 2a) check edge link condition. link_condition(block, cavity.patch_info(), ev_query, - edge_mask, v0_mask, v1_mask); + edge_mask, v0_mask, v1_mask, 0, 1); block.sync(); for_each_edge(cavity.patch_info(), [&](EdgeHandle eh) { diff --git a/apps/SECPriority/secp_rxmesh.cuh b/apps/SECPriority/secp_rxmesh.cuh index 76270d97..e846802a 100644 --- a/apps/SECPriority/secp_rxmesh.cuh +++ b/apps/SECPriority/secp_rxmesh.cuh @@ -10,7 +10,7 @@ // Priority Queue related includes #include -#include +#include #include #include