From 99030b77b0058ce62e92a576634f52bbd3c59f8d Mon Sep 17 00:00:00 2001 From: allem Date: Tue, 10 Dec 2019 22:26:58 -0500 Subject: [PATCH] add_coset not _real_ slow anymore --- gpu-opt/main.cu | 2 -- 1 file changed, 2 deletions(-) diff --git a/gpu-opt/main.cu b/gpu-opt/main.cu index b3dcf25..df671d3 100644 --- a/gpu-opt/main.cu +++ b/gpu-opt/main.cu @@ -125,7 +125,6 @@ void add_row( }; // add a new coset to the coset table, picking up where the last call left off. -// todo: this part is _real_ slow. bool add_coset( int ngens, int *coset, @@ -135,7 +134,6 @@ bool add_coset( thrust::host_vector cosets(dcosets.begin() + offset, dcosets.end()); *coset = dcosets.size() / ngens; - // todo: this part especially. while (cosets[*hint - offset] >= 0) { *hint = *hint + 1; if (*hint - offset >= cosets.size())