diff --git a/apps/SECHistogram/sec_rxmesh.cuh b/apps/SECHistogram/sec_rxmesh.cuh index 617c51a8..97c3734a 100644 --- a/apps/SECHistogram/sec_rxmesh.cuh +++ b/apps/SECHistogram/sec_rxmesh.cuh @@ -131,13 +131,13 @@ inline void sec_rxmesh(rxmesh::RXMeshDynamic& rx, max_num_blocks = std::max(max_num_blocks, DIVIDE_UP(launch_box.blocks, 8)); - timers.start("APP"); - sec<<<<>>( rx.get_context(), *coords, histo, reduce_threshold); - timers.stop("APP"); + timers.stop("App"); timers.start("Cleanup"); rx.cleanup(); @@ -145,7 +145,7 @@ inline void sec_rxmesh(rxmesh::RXMeshDynamic& rx, timers.start("Slice"); rx.slice_patches(*coords); - timers.stop("Cleanup"); + timers.stop("Slice"); timers.start("Cleanup"); rx.cleanup(); @@ -153,7 +153,7 @@ inline void sec_rxmesh(rxmesh::RXMeshDynamic& rx, } } timers.stop("Total"); - + CUDA_ERROR(cudaDeviceSynchronize()); CUDA_ERROR(cudaProfilerStop()); RXMESH_INFO("sec_rxmesh() RXMesh SEC took {} (ms), num_passes= {}", diff --git a/apps/SECPriority/secp_rxmesh.cuh b/apps/SECPriority/secp_rxmesh.cuh index da148aa0..1849228d 100644 --- a/apps/SECPriority/secp_rxmesh.cuh +++ b/apps/SECPriority/secp_rxmesh.cuh @@ -61,7 +61,7 @@ inline void secp_rxmesh(rxmesh::RXMeshDynamic& rx, int num_passes = 0; CUDA_ERROR(cudaProfilerStart()); - //PriorityQueueT priority_queue(rx.get_num_edges()); + // PriorityQueueT priority_queue(rx.get_num_edges()); timers.start("Total"); while (rx.get_num_vertices(true) > final_num_vertices) { @@ -72,7 +72,7 @@ inline void secp_rxmesh(rxmesh::RXMeshDynamic& rx, // rebuild every round? Not necessarily a great way to use a priority // queue. PriorityQueueT priority_queue(rx.get_num_edges()); - //priority_queue.clear(); + // priority_queue.clear(); to_collapse->reset(false, DEVICE); rx.update_launch_box( {Op::EV}, @@ -165,7 +165,7 @@ inline void secp_rxmesh(rxmesh::RXMeshDynamic& rx, }); timers.start("App"); - secp<<<<>>( rx.get_context(), *coords, *to_collapse); @@ -184,9 +184,9 @@ inline void secp_rxmesh(rxmesh::RXMeshDynamic& rx, timers.stop("Cleanup"); { - //rx.update_host(); - //coords->move(DEVICE, HOST); - //EXPECT_TRUE(rx.validate()); + // rx.update_host(); + // coords->move(DEVICE, HOST); + // EXPECT_TRUE(rx.validate()); // rx.update_polyscope(); // @@ -202,7 +202,7 @@ inline void secp_rxmesh(rxmesh::RXMeshDynamic& rx, } } timers.stop("Total"); - + CUDA_ERROR(cudaDeviceSynchronize()); CUDA_ERROR(cudaProfilerStop());