tCMakeLists.txt: set ampere to default architecture - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit cbd26b61b8bf79effaf89f17f71f883888e675d8
DIR parent 46c834186a46296c37ce2856db0258bdaeb9d35f
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 9 Feb 2023 12:26:39 +0100
CMakeLists.txt: set ampere to default architecture
Diffstat:
M CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/CMakeLists.txt b/CMakeLists.txt
t@@ -16,7 +16,8 @@ find_package(CUDA REQUIRED)
# Set CUDA GPU generation
# 0: Fermi
# 1: Kepler
-set(GPU_GENERATION 1)
+# 2: Ampere
+set(GPU_GENERATION 2)
# Find OpenMP
find_package(OpenMP)