Closed smanders closed 1 year ago
currently we don't have a patch of CUB, so this should all be pretty straightforward as long as their header-only library hasn't changed drastically https://github.com/smanders/externpro/blob/22.03/projects/cub.cmake (we just copy the cub/
directory)
it appears that CUB now is part of the CUDA Toolkit
CUDA Toolkit Documentation v11.7.1 https://docs.nvidia.com/cuda/archive/11.7.1/ CUDA API References https://docs.nvidia.com/cuda/archive/11.7.1/#cuda-api-references CUB https://docs.nvidia.com/cuda/archive/11.7.1/cub/index.html
is there a reason to maintain CUB in externpro? I believe it would really complicate things to have CUB in two places, and it seems that the CUB that comes with a particular release of CUDA is less likely to have issues...
From: Blake Nelson Date: Wednesday, November 16, 2022 at 9:28 AM To: Scott M Anderson, Cameron Frandsen Cc: Jordan Devenport, Aaron May Subject: CUB and externpro
Scott/Cameron,
Upon further discussion, we believe the best path forward here is to remove CUB from externpro and rely on the version shipped with the CUDA toolkit.
My original desire to keep both versions was simply to allow the plugin the flexibility of getting new functionality without requiring a CUDA toolkit update. However, on further reflection about how difficult it would be to maintain two CUB libraries and how much easier NVIDIA has made CUDA toolkit upgrades with the 11.x branch, I believe there is no upside to keeping both versions.
From: Scott M Anderson Date: Wednesday, November 16, 2022 at 10:33 AM To: Blake Nelson, Cameron Frandsen Cc: Jordan Devenport, Aaron May Subject: Re: CUB and externpro
Thanks, Blake! This sounds like a good path forward to me… if we decide later that there’s an easier way to maintain two versions it won’t take much to reintroduce CUB into externpro.
completed with commit to dev branch referenced above
we are currently using CUB 1.8.0 https://github.com/smanders/externpro/issues/215
from Blake Nelson
and in a follow-on email from Blake