ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
58 stars 22 forks source link

Cuda fixes for cmake and automake #191

Closed scottaiton closed 2 years ago

scottaiton commented 2 years ago

CUB is included in the CUDA 11 standard library, so cmake and autoconf should check the CUDA version to avoid using the local CUB headers if the CUDA version is 11 or greater.

This pull request adds the checks to cmake and autoconf and also adds CI tests for both CUDA 10 and 11.